- Notifications
You must be signed in to change notification settings - Fork33
A demonstration showing how to use sql.js with create-react-app
License
NotificationsYou must be signed in to change notification settings
sql-js/react-sqljs-demo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 :
- The usage ofcraco to allow providing a customwebpack configuration
- a small custom webpack configuration in
craco.config.js
to copy the wasm module from sql.js to the distributed assets
Note 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
Seesrc/App.js
for the code.
About
A demonstration showing how to use sql.js with create-react-app
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.