Examples
The repository includes standalone Lynx projects under examples/. They are shaped after the public lynx-family/lynx-examples packages: each project has package.json, lynx.config.ts, tsconfig.json, src/index.tsx, and a ReactLynx App.
The examples use pinned Lynx package versions instead of workspace catalog: ranges, so each one can be copied or installed independently. The project shape follows the Lynx Quick Start and uses Rspeedy with pluginReactLynx.
Projects
Scan The Examples
Build the local CLI once, then scan the example directories:
For the published package, use the same paths with npx:
Run A Project
Each example runs with Rspeedy:
Rspeedy prints a local server and QR entry for previewing the ReactLynx bundle. The examples are intentionally small so you can change one rule violation, rescan, and see how the agent prompt changes.
Agent Handoff
Use the regression example to try the complete flow:
The prompt should ask an agent to:
- move
lynx.getJSModule("Analytics")out of render and into a background-only context - replace
ReactLynx.useLayoutEffect - add a top-level
"main thread"directive to the main-thread handler
After applying a fix, rerun the same command and confirm the affected rule disappears.
