minop1205 / react-dnd-treeview

A draggable / droppable React-based treeview component. You can use render props to create each node freely.
MIT License
530 stars 71 forks source link

prevent re-rendering for best performance render() #94

Closed ayoub-root closed 2 years ago

ayoub-root commented 2 years ago

add memo function to prevent CustomNode rendering without any change@minoru/react-dnd-treeview

https://user-images.githubusercontent.com/29442800/149621206-1a1dad2f-047b-41c3-91b3-a6bbe4f69acd.mov

maendros commented 1 year ago

Hello . Was there a fix for that . I can still see that CustomNode is rerendered on hover.