Do I Need Redux?

Do I Need Redux?

Redux is most useful when in cases when:
You have large amounts of application state that are needed in many places in the app. The app state is updated frequently. The logic to update that state may be complex. The app has a medium or large-sized codebase, and might be worked on by many people.

Why should I not use Redux?

What I Hate About Redux. If you use redux to develop your application, even small changes in functionality require you to write excessive amounts of code. This goes against the direct-mapping principle, which states that small functional changes should result in small code changes.

Is Redux used in 2020?

I've said for the last couple years that Redux is used by around 50% of React apps, based on various sources (NPM DLs, polls, etc). Just saw the results of the "State of Frontend 2020" survey, which once again shows basically that same result (48%):

David Miller
Author

David Miller

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.