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

Add MicroPython as ReactPy executor #1273

Open
Archmonger opened this issue Feb 11, 2025 · 0 comments
Open

Add MicroPython as ReactPy executor #1273

Archmonger opened this issue Feb 11, 2025 · 0 comments
Labels
priority-3-low May be resolved one any timeline.

Comments

@Archmonger
Copy link
Contributor

Archmonger commented Feb 11, 2025

Current Situation

Currently, our client-side components use pyodide to execute ReactPy. However, Pyodide unfortunately has a pretty slow boot-up time.

Proposed Actions

Try using MicroPython to render ReactPy instead. Because MicroPython does not support installing packages from PyPi, this may involve creating our own system for manually fetching wheels, storing them locally, and then serving them.

There are some instructions on MicroPython's docs on how to build compatible apps, and a bit more detail on the micropython-lib docs.

Rather than this feature being a completely separate executor, it's likely that we will build it into the the existing ReactPyCsr executor via an ReactPyCsr(interpreter = "micropython") flag.

@Archmonger Archmonger added priority-3-low May be resolved one any timeline. type-feature and removed type-feature labels Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-3-low May be resolved one any timeline.
Projects
None yet
Development

No branches or pull requests

1 participant