Answer the question
In order to leave comments, you need to log in
How to take out the logic from layout?
I have a React project where I use hooks, so the components are functions, not classes.
How can you take logic out of layout?
Earlier, when I used class components, I did it with the help of HOC.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question