-
Notifications
You must be signed in to change notification settings - Fork 269
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
[BUG] Custom component unmounting #485
Comments
Do u have any example of custom component with react typescript if yes please share. |
Typescript? Does react-formio support Typescript? It doesn't seem so. Here is the code of custom component: |
Hey I am a newcomer in this project and I would like to contribute |
I wonder if you can share your GridComponent code? I am trying to implement it myself but I am not sure how to start. |
@FractalStranger did you figure any way to get around this? |
@FractalStranger |
Hey @YoungDriverOfTech @lotorvik @FractalStranger thanks for chiming in here. A couple of things to consider:
|
Hi,
I have a React18 project and wanted to make custom react-formio component (code below) but
this.container.unmount
indetachReact
method shows this warning:Warning: Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition.
is there any way to unmount the element without the warning? (And is react-formio compatible with React 18 overall?)
Thanks.
Code:
Environment
The text was updated successfully, but these errors were encountered: