A demonstration showing how to use sql.js with create-react-app
116
stars
35
commits
JavaScript
primary language
Dec 1, 2023
updated
This is a template repository demonstrating the use of sql.js with create-react-app.
The only differences with a traditional create-react-app application are :
craco.config.js to copy the wasm module from sql.js to the distributed assetsNote that you should make sure your server serves .wasm files with the right mimetype, that is: application/wasm. Otherwise, you'll see the following error: TypeError: Response has unsupported MIME type
See src/App.js for the code.
JavaScript
64.9%
HTML
27.0%
CSS
8.0%
A demonstration showing how to use sql.js with create-react-app
116
stars
35
commits
JavaScript
primary language
Dec 1, 2023
updated
This is a template repository demonstrating the use of sql.js with create-react-app.
The only differences with a traditional create-react-app application are :
craco.config.js to copy the wasm module from sql.js to the distributed assetsNote that you should make sure your server serves .wasm files with the right mimetype, that is: application/wasm. Otherwise, you'll see the following error: TypeError: Response has unsupported MIME type
See src/App.js for the code.
JavaScript
64.9%
HTML
27.0%
CSS
8.0%