You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have table structure , where each row is component and we have state in parent component , whenever I am editing it, it re-renders the entire table even though we have already used useMemo() to prevent unnecessary re renders . While it gets re rendered , it is getting automatically change to initial state. I want solution to prevent this multiple re renders on each edit.
P.s: We can't shift state from parent to child as it is complex.
The text was updated successfully, but these errors were encountered:
We have table structure , where each row is component and we have state in parent component , whenever I am editing it, it re-renders the entire table even though we have already used useMemo() to prevent unnecessary re renders . While it gets re rendered , it is getting automatically change to initial state. I want solution to prevent this multiple re renders on each edit.
P.s: We can't shift state from parent to child as it is complex.
![image](https://cdn.statically.io/img/private-user-images.githubusercontent.com/173976819/343614820-ff442587-287c-4bed-b705-13b51e8b386d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI3MTEzMDQsIm5iZiI6MTcyMjcxMTAwNCwicGF0aCI6Ii8xNzM5NzY4MTkvMzQzNjE0ODIwLWZmNDQyNTg3LTI4N2MtNGJlZC1iNzA1LTEzYjUxZThiMzg2ZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODAzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgwM1QxODUwMDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mNjM2MjZjOGIzODJhNTI0Y2U3MTE5NWUwYmExMWUxMjI3MDI5MDcwOTI1NTRjNjAzMjExNzEzMzJlZTQ0ZGViJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.4N6ZF1EWPwCb98zNiKRn8g2L_rX-LCvI-QOH_MNCnGU)
The text was updated successfully, but these errors were encountered: