michaelcontento / redux-storage

Persistence layer for redux with flexible backends
MIT License
675 stars 50 forks source link

Redux 4.0 support? #180

Open alexey-pelykh opened 6 years ago

alexey-pelykh commented 6 years ago

Since release of redux@4.0.0, there's a

warning " > redux-storage@4.1.2" has incorrect peer dependency "redux@^3.0.0 || ^2.0.0 || ^1.0.0 || 1.0.0-alpha || 1.0.0-rc".

Is redux-storage compatible with redux@4.0.0?

mbret commented 6 years ago

This is only a peer dependency, the package does not use redux inside. However it create a 'middleware', fortunately the middleware api hasn't changed. This package is compatible, it only needs a package.json update.

NathanielHill commented 6 years ago

I created a PR for this in the new repository:

https://github.com/react-stack/redux-storage/pull/12

Hopefully this gets fixed, super annoying :+1: