Add MicroPython as ReactPy executor

Offen
#1,273 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
frontend

Rechercherichtung

Start with the existing ReactPyCsr executor and compare its current Pyodide-based client-side path with the linked MicroPython package guidance. Determine how an interpreter="micropython" option could render ReactPy and how required packages would be fetched or stored locally. Done means ReactPy can run through MicroPython with the proposed flag and its package requirements are served successfully.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

priority-3-low
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.

Vorherrschende Sprache
Python
Sterne
8.1k
Forks
332
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus reactive-python/reactpy

Alle Issues in reactive-python/reactpy

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.