Logo Awesome React

Awesome React

Why & How You Should Use React Render Props | LEARN WHILE YOU POOP 21

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. 🀯

Code on GitHub πŸ‘‰ https://github.com/Swizec/learn-while-you-poop-react