Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Avoid entire component Unmount When Updating Schema/Data #70

Unanswered
tuthanhoancanh012 asked this question in Q&A
Discussion options

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.

You must be logged in to vote

Replies: 1 comment

Comment options

Hi, @tuthanhoancanh012

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.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /