ReactLynx
Learn how to build a ReactLynx application for Lynx using Rsbuild.
Create a ReactLynx application
Create a ReactLynx application with @lynx-js/create-lynx:
Then select Rsbuild when prompted to "Select build tool".
Use ReactLynx in an existing project
To compile ReactLynx, you need to register the ReactLynx plugin provided by Lynx. The plugin will automatically add the necessary configuration for ReactLynx builds.
Install @lynx-js/react and the plugin:
Then register the plugin in Rsbuild config, and name the environment lynx so that it is built into a Lynx bundle:
rsbuild.config.ts
For more details, see the ReactLynx documentation.

