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

more examples #2

Closed klaasman closed 8 years ago

klaasman commented 9 years ago

It would be nice to have more examples or an example-application which shows dispatching actions and the rendering of data in components.

gajus commented 9 years ago

I have started making a simple todo app https://github.com/gajus/redux-immutable-examples. I'd appreciate if someone chip in with commenting the code.

This example shows how to use selectors with immutable state.

Will add an example of dispatching actions and using reducers.

gajus commented 9 years ago

Added an example showing how to dispatch an action (ADD_TASK) & how to reduce the state.

gajus commented 9 years ago

Extended example to show:

Raise an issue in the repository if more examples are needed.

gajus commented 8 years ago

Not relevant in redux-immutable@2.0.1.