DEV Community

Discussion on: Redux vs Context API

Collapse
 
datnq profile image
Joey

I'm wrote an module to hanlde single datastore using Context API, which also handle to avoid re-rendering.

Basically, I was trying to reduce complexity of Redux by only pass data and dispatch function to Component, so we don't need to define something like reducer or action.

You can check example below:
datnq.github.io/unidata/