React.js single page webapps


#21

20 | Higher Order Components

A series of 2min twitter video explainers from @Swizec.

Higher Order Components let you wrap any component in a new component. This lets you share functionality between different components in your app.

Code on github: https://t.co/803mkuPJf3


#22

21 | Why & How You Should Use React Render Props

A series of 2min twitter video explainers from @Swizec.

You can think of them as dependency injection or as inversion of control. The point is that you pass a component into a component and it lets your consumer define how something gets rendered. :exploding_head:

code: https://github.com/Swizec/learn-while-you-poop-react


#23

22 | Render prop or function as children?

A series of 2min twitter video explainers from @Swizec.

Make your users happy, keep their codebase consistent, support both patterns.


#24

23 | Handling errors with error boundaries

A series of 2min twitter video explainers from @Swizec.


#25

24 | How you can choose what goes in what component?

A series of 2min twitter video explainers from @Swizec.