3 ms·
Redux solves the problem of managing state and state changes. Context solves the problem of passing props to nested components. Context doesn’t replace Redux
by jinushaun 8y ago
Redux solves the problem of managing state and state changes.
Context solves the problem of passing props to nested components.
Context doesn’t replace Redux because they solve different problems. This is also evident in the fact that Redux internally uses Context to pass props.