@my-react/react-lynx
v0.0.10
Published
MyReact renderer for Lynx dual-thread architecture
Readme
@my-react/react-lynx
MyReact renderer for Lynx dual-thread architecture (Background reconciler + Main Thread / LEPUS).
Docs
- FEATURES.md — feature matrix vs ReactLynx (full set) and VueLynx
- PLUGIN.md — plugin pipeline, key invariants (layers / worklets), common failures and causes
- IFR.md — Instant First-Frame sequence, file map, flush/worklet/HMR notes, debug checklist
Package layout
src/
background/ # BG reconciler + public API (package ".")
entry.ts # BG bootstrap (export "./background")
render/ # host config, ops, flush
worklet/ # MainThreadRef, runOnMainThread / runOnBackground
first-screen/ # first-screen patch phase (≠ IFR); end flush in render/flush.ts
data/ # initData / globalProps / data processors
gesture/ # serialize + useGesture
lazy/ # loadLazyBundle / dynamic import
main-thread/ # LEPUS PAPI apply + worklet apply (export "./main-thread")
plugin/ # Rsbuild plugin (export "./plugin")
apply/ # entry / css / refresh wiring
rspack-plugins/
loaders/
shared/ # op protocol, patch payload, worklet bindings
shims/ # @lynx-js/react/internal overridesNotes
- Dev-tool runtime currently copied from myreact-devtools; improve later.
- Historical reference: vue-lynx.
