gajus / redux-immutable

redux-immutable is used to create an equivalent function of Redux combineReducers that works with Immutable.js state.
Other
1.88k stars 82 forks source link

Improve tree-shaking #81

Closed alexgleason closed 2 years ago

alexgleason commented 2 years ago

Immutable 4 is working towards proper tree-shaking. Import only what we need, or the bundler will be forced to take the whole library.

gajus commented 2 years ago

Needs to pass tests to get merged. Closing this until it has passing tests.

alexgleason commented 2 years ago

Hey there. It looks like the Jest tests passed, and the linter failed. I ignored it because the master branch also failed.

gajus commented 2 years ago

I've made a speed run conversion to TypeScript:

https://github.com/gajus/redux-immutable/commits/master

Hope this helps with getting changes in this branch out.