Mixins Are Dead. Long Live Composition
Dan Abramov
1.93K19

So for something like React.Router mixins to obtain url params, we’d have a parent component for just about every component, since accessing url params can be a pretty common thing for components to be able to access?

I did hear about that dual component pattern for react components…

I haven’t played with react enough to run into cases that would decide one way or the other… very interesting article. Thanks for writing.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.