1 year ago
#361547
David Arroyo Schneiderman
React.memo(Component) is rendeing by parent component rendering
I have this optimization problem:
My memo child component is rerendering when I change a state in parent,
export default React.memo(connect(stateToProps)(React.memo(Compromisos)));
Currently, I am expoting him like that (I also proved to delete one of the memoization one at a time)
memo component renders by parent:
Thanks you a lot!
reactjs
optimization
memo
0 Answers
Your Answer