Closed jungpaeng closed 4 months ago
Latest commit: c862ad706ca8553d28a878699cad21cc8e007311
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
overlay-kit | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 26, 2024 0:06am |
Description
Support for React versions 16.8 and 17 has been added by updating the import path for
useSyncExternalStore
to use the shim version. This change ensures compatibility with older React versions while maintaining functionality with React 18.Related Issue: Fixes #43
Changes
useSyncExternalStore
touse-sync-external-store/shim
.Motivation and Context
This change is necessary to provide compatibility with React versions 16.8 and 17, ensuring that users of these older versions can utilize the same functionality without issues.
How Has This Been Tested?
Screenshots (if appropriate):
It tested 16.8 framer-motion example
https://github.com/user-attachments/assets/9e205b50-1237-4a92-b16d-d30fa29e1793
Types of changes
Checklist
Further Comments