Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HoC vs. Render Props components in React #11

Open
stripethree opened this issue Jul 18, 2019 · 0 comments
Open

HoC vs. Render Props components in React #11

stripethree opened this issue Jul 18, 2019 · 0 comments
Labels

Comments

@stripethree
Copy link
Contributor

Issue by nearbycoder
Thursday Sep 20, 2018 at 17:13 GMT
Originally opened as youearnedit/YEI-lunchnlearn#6


So one of the big questions in React is how to compose your components. Do you go with using a Higher Order Component wrapper or could you just have a RenderProps component pass the data down? One great talk that answers this questions all be it a bit over 30 minutes but could be cut down for time is.

Michael Jackson - Never Write Another HoC
https://www.youtube.com/watch?v=BcVAq3YFiuc

Michael Jackson is one of the original maintainers and still maintains it today of React Router and provides a lot of context with how state is passed down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant