Sheets in ReactJS Sites
ReactJS is a JavaScript library for building user interfaces.
SheetJS is a JavaScript library for reading and writing data from spreadsheets.
This demo uses ReactJS and SheetJS to process and generate spreadsheets. We'll explore how to load SheetJS in a ReactJS site and compare common state models and data flow strategies.
This demo focuses on ReactJS concepts. Other demos cover general deployments:
Installation​
The "Frameworks" section covers installation with Yarn and other package managers.
The library can be imported directly from JS or JSX code with:
import { read, utils, writeFile } from 'xlsx';
Internal State​
The various SheetJS APIs work with various data shapes. The preferred state depends on the application.