4Catalyzer / found

Extensible route-based routing for React applications
https://4catalyzer.github.io/found/
MIT License
794 stars 55 forks source link

Migrate to React 18 #965

Closed catamphetamine closed 1 year ago

catamphetamine commented 2 years ago

The current version of this library doesn't support React 18 because using React 18 requires using react-redux@8 and this library uses react-redux@7.

catamphetamine commented 2 years ago

In case you wondered, it's backwards-compatible, so non-breaking. https://github.com/reduxjs/react-redux/releases

React-Redux now requires the new useSyncExternalStore API in React 18. By default, it uses the "shim" package which backfills that API in earlier React versions, so React-Redux v8 is compatible with all React versions that have hooks (16.8+, and React Native 0.59+) as its acceptable peer dependencies.

golota60 commented 1 year ago

This has been resolved in this commit :tada: