unplugin-auto-import icon indicating copy to clipboard operation
unplugin-auto-import copied to clipboard

feat(presets): add @lynx-js/react

Open elcoosp opened this issue 1 year ago • 1 comments

Description

This PR adds a new preset @lynx-js/react to the project, implementing the CommonLynxReactAPI. The preset focuses on providing React integration without relying on Lynx-specific APIs, ensuring broader compatibility and adherence to common React patterns. This allows users to leverage React functionality within the Lynx ecosystem using familiar conventions.

Linked Issues

None

Additional context

  • The preset only include functions both available on reactjs and @lynx-js/react (no useTransition for example).

elcoosp avatar Mar 12 '25 18:03 elcoosp

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.