alican erdogan
Sep 7, 2018 · 1 min read

Using Redux doesn’t mean you should store everything in the Redux State. I see lots of people tend to use Redux State over React Component State. If the action you plan to dispatch has no effect on the rest of the application, just handle things inside of the component. This also makes your code testable than before (it is not necessary to have mock states etc.) and the logic you have will be more confined in the end which will result in less coupling.

    alican erdogan

    Written by

    Nemo vir est qui mundum non reddat meliorem

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade