unplugin-auto-import
unplugin-auto-import copied to clipboard
feat(presets): add @lynx-js/react
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
reactjsand@lynx-js/react(nouseTransitionfor example).
Run & review this pull request in StackBlitz Codeflow.