Unprepared TypeError with Redux form and immutable

When I use redux-form@7.0.4with immutable@3.8.1, I get:

Uncaught TypeError: (0, _immutable.isCollection) is not a function

I tried the version:

redux-form@7.1.0 with immutable@3.8.2,
redux-form@7.0.4 with immutable@3.8.2,
redux-form@7.1.0 with immutable@4.0.0-rc.7

I am using React16.

+4
source share
1 answer

For the comment by @NarasimhaReddy:

https://github.com/erikras/redux-form/issues/3488

Redux-form@7.10.0 requires immutable@4.0.0-rc.7 or higher. He introduced a violation that made him incompatible with immutable@3.8.2

. "redux-form": "^7.0.4", npm , 7.0.4 - 8.0.0.

npm install, , , .

+1

Source: https://habr.com/ru/post/1687221/


All Articles