re: Why i won't use React Hooks VIEW POST

FULL DISCUSSION
 

That's why i never mess React Component with side-effects, like ajax request or state.

How do you do it then?

 

You can use a HOC (Higher order component) to reuse behaviour, or using Render Props pattern.

 
code of conduct - report abuse