-
Notifications
You must be signed in to change notification settings - Fork 33
Avoid entire component Unmount When Updating Schema/Data #70
-
Hi @Team, We truly need a way to update the schema and data efficiently without unmounting the entire component. As we have many customized components, and the current update method causes unmounting, we’re only updating data on a single component, but it causes all other components to re-render unnecessarily. which leads to lag and stuttering.
Please let us know if there is any update.
Thank you so much.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
When updating the schema, the entire Designer/Viewer component should not be unmounted. It is likely that one of the props is not memoized or not wrapped in useCallback. Please send us your code and we will guide you on how to fix it.
Beta Was this translation helpful? Give feedback.