Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

turn the sandbox demo into a react project #65

Open
benma opened this issue Dec 16, 2021 · 0 comments
Open

turn the sandbox demo into a react project #65

benma opened this issue Dec 16, 2021 · 0 comments

Comments

@benma
Copy link
Contributor

benma commented Dec 16, 2021

You can run the sandbox demo using:

make builddemo
make servedemo

The demo code lives in sandbox/.

This subproject is messy:

  • it does manual DOM manipulation
  • make builddemo takes minutes because it webpacks the big bitbox02-api-js
  • there is no hot reloading
  • hard to maintain, hard to read

It would be great to turn it into a react project with nice components. Webpack should also be configured to do code splitting, so the big bitbox02-api-js is not bundled in the main bundle but copied to a separate one. Here is a commit in adalite that does the same: vacuumlabs/adalite@aa2a8f9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant