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

Replace react with preact, move instructions to index.html #48

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

incognitojam
Copy link
Contributor

@incognitojam incognitojam commented Jun 20, 2024

  • Move the instructions out of JSX and into index.html
  • Simplify the app to mount component in specific div
  • Switch to preact which should be a little smaller on bundle size and still gives us preact/hooks for useState, useRef etc. until it is replaced later

Vite is still bundling + hot reloading

Overall this is closer to a plain HTML + JS app, except the fastboot.js logic (basically a state machine) is still written using hooks.

@incognitojam incognitojam changed the title Replace react with preact, move docs to index.html Replace react with preact, move instructions to index.html Jun 20, 2024
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

Successfully merging this pull request may close these issues.

1 participant