Back to Redux Form

Does `redux-form` work with ImmutableJS?

docs/faq/ImmutableJs.md

8.3.10406 B
Original Source

Does redux-form work with ImmutableJS?

Yes!

As of v6, redux-form has support for ImmutableJS built in.

Simply import from a different endpoint and all of redux-form's internal state will be kept with ImmutableJS data structures.

Instead of...

js
import { reduxForm } from 'redux-form'

...do...

js
import { reduxForm } from 'redux-form/immutable'

That's all there is to it!