-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Demos should be refactored to be consistent with modern react standards and styles #1006
Comments
Might benefit from using state/effect and custom hooks as well. I extended custom components using react fc and some material and joyui components, was fairly straightforward, but adding custom hooks would really shine for the equivalent of useModel, useSerialize useFlowState, and useDiagramTransition. |
I was able to mostly migrate to functional components and hooks, the only problems seemed to be the class components use of force update calls, and some dangerously set innerhtml. |
Demos are still using very old class style components
The text was updated successfully, but these errors were encountered: