Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to avoid rerenders of a custom block that uses contentRef? #1373

Open
GersonDantas opened this issue Jan 15, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@GersonDantas
Copy link

Is there a way to prevent re-renders of a custom block that uses contentRef?

**Is your feature request related to an issue?

I have a custom component that has hooks attached to it and when I change something in the contentRef component's input it calls all the hooks at once.

Please describe the solution you would like
I want the controlled inputs to become uncontrolled.

Please describe the alternatives you have considered
I can't think of one.

Additional context

gravacao-de-tela-2025-01-15-as-115856_LofSXP49.mp4
@GersonDantas GersonDantas added the enhancement New feature or request label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant