Frontage examples
Each page loads MicroPython compiled to WebAssembly and the framework as precompiled
bytecode; there is no PyScript. The
source is the same
files the browser suite tests.
- Hello: the package imports, a signal, a store
- Counter: signals, a memo, holes, a class toggle
- Todo: a store,
For with keys, Show, two-way binding
- Rows: the js-framework-benchmark table, with timings
- Fetch:
Resource, Loading, Errored
- Forms: bindings,
Switch, an Action on submit
- Template: the counter as a template string,
html(t"…")
- Contacts: the router, nested routes,
A links, query(); ?mode=history for pushState
- Wasm library: a C or Rust library compiled to WebAssembly, imported like any Python module
- Chart: uPlot wrapped as a component — a dashboard with a live 20,000-point chart
- Tracker: the whole framework in one app — routes, a store,
Optimistic, a Portal modal, an ActionForm