Exploring Render Props Vs. React Hooks In 2020

Written by moubi | Published 2020/07/16
Tech Story Tags: react | react-hook | react-rendering | components | forms | optimization | oss | hackernoon-top-story | web-monetization

TLDR Render Props Vs. React Hooks is an article on React Europe. Hooks and render props can solve the same problem: moving state away from your components, so that it is reusable. The good old pattern is still valid for the common use case where hooks may not always be the right choice. If you must decide between either of the two, though, let’s put that decision on stress. Opposing the two is not a fantasy, but comes from a practical concern. The question is which one does a better job?via the TL;DR App

no story

Written by moubi | UI developer. OSS maintainer. Tech author at webup.org/blog.
Published by HackerNoon on 2020/07/16