Comment

Comment by ncphillips

This is a good article, but the title makes the wrong comparison:

* Context is a dependency injection utility. * Redux is a state-management library.

Redux doesn't know anything about React. In order to use it with React you need to use ReactRedux, which actually uses Context to do it's thing.

The comparison being drawn with the article is still the old:

> React Redux vs React State.

The difference now is that React has a new (and substantially better) Context API.

parent ncphillips 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton