Answer the question
In order to leave comments, you need to log in
What is the best way to implement HOC, react/redux?
Good afternoon! Please tell me the best way to do it?
There is a project on react/redux
The project consists of pages on which there are various types of lists.
We need to add the ability to sort these lists ...
And the question is how best to add this if it should be on some pages, but not on others.
These lists all share the same List component.
I want to implement it through HOC . That is, for this component to take a List component and become sortable.
At the moment, I chose this react-sortable-hoc
Please tell me how best to implement this if I have a sufficiently large nesting of components.
That is, now the problem is if I write this HOC, how should it pick up the item of the List component?
Thank you in advance!
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