DEV Community

loading...

Discussion on: The amazing Render props pattern for React.js — lifecycle begone!

Collapse
jonocodes profile image
Jonathan Stiansen • Edited

I really think you are doing new developers a disservice (probably old as well) by writing about render props. As of react hooks, this pattern is no longer needed and not a best practice, with hooks at least! Which is the recommended approach :-)

Collapse
softchris profile image
Chris Noring Author • Edited

Hi Jonathan. This article is several months old. ( Syndicated from a medium post ). I do have an article about Hooks as well, dev.to/softchris/hooks-for-react-j... I reason like this: the adoption of Hooks doesn't seem to be so fast yet and meantime people still need to maintain their codebases.