You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, immer@10 has changed their api, from import produce from 'immer'
to import { produce } from 'immer'
Using @rematch/immer@2 with immer@10 will cause "TypeError: Object(...) is not a function".
@rematch/immer plugin should lock its immer peerDependency to not higher than 9, and explain this in the document.
馃摎 Documentation
npm install immer @rematch/immer
@rematch/immer is compatible with immer 7, immer 8, immer 9.
The above command installs immer 10.
Need to change the command to
npm install immer@9 @rematch/immer
The text was updated successfully, but these errors were encountered: