Skip to content

fix(react-lang): support older React versions - #794

Open
Neper98 wants to merge 1 commit into
thesysdev:mainfrom
Neper98:feat/react17
Open

fix(react-lang): support older React versions#794
Neper98 wants to merge 1 commit into
thesysdev:mainfrom
Neper98:feat/react17

Conversation

@Neper98

@Neper98 Neper98 commented Jul 21, 2026

Copy link
Copy Markdown

What

Fixes #690

Changes

  1. Change the React peer dependency from catalog to >=16.8.0.

  2. Add a react-compat layer for useInsertionEffect and useSyncExternalStore.

  3. Add a compatibility test to catch direct imports of React 18-only hooks.

Test Plan

Describe how you validated this change.

  • Not applicable (explain why)
  • Verified locally

Checklist

  • I linked a related issue, if applicable
  • [x ] I updated docs/README when needed
  • [ x] I considered backwards compatibility

1. Change the React peer dependency from catalog to >=16.8.0.

2. Add a react-compat layer for useInsertionEffect and useSyncExternalStore.

3. Add a compatibility test to catch direct imports of React 18-only hooks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support React 17 compatibility in @openuidev/react-lang

1 participant