Answer the question
In order to leave comments, you need to log in
React-redux: hooks or classic connect approach - pros and cons?
The other day I got acquainted with hooks from react-redux , but I didn’t fully understand what the advantages and disadvantages of each of the approaches were, I would be very grateful for the feedback.
I would like to get an answer if we write an application without class components.
They write that connect is a more productive thing, and useSelector will render more often, is this true?
If you use reselect in conjunction with react-redux hooks (useSelector, useDispatch), can you completely replace the connect approach (mapStateToProps && mapDispatchToProps) and expect similar performance?
Answer the question
In order to leave comments, you need to log in
They write that connect is a more productive thing, and useSelector will render more often, is this true?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question