query
query copied to clipboard
drop support for React17
context
With nextJs 13 also requiring React18, it makes sense to follow suit. All new features are build on top of react18. This means we can also drop the useSyncExternalStore shim, which has caused troubles in the past with react-native and ESM, and also adds a bit of bundle size.
proposal
- set the required peer dependency of react to ">=18.2.0"