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

React Json Schema Form crashes #834

Open
guitavano opened this issue Sep 4, 2024 · 3 comments
Open

React Json Schema Form crashes #834

guitavano opened this issue Sep 4, 2024 · 3 comments
Labels

Comments

@guitavano
Copy link
Contributor

To replicate, paste this schema:
https://gist.github.com/guitavano/13e1915976b7d746eeb64270db554aaa

On playground:
https://rjsf-team.github.io/react-jsonschema-form/

@guitavano
Copy link
Contributor Author

We did this PR and it worked.

But we should fix it on the root.

@mcandeia
Copy link
Contributor

mcandeia commented Sep 5, 2024

More info: We discovered that the root cause is related to the fact that some types (specially arrays) takes more time to render on RJSF, replacing T[] to T[] | null makes it faster somehow

@igorbrasileiro
Copy link
Contributor

More info: We discovered that the root cause is related to the fact that some types (specially arrays) takes more time to render on RJSF, replacing T[] to T[] | null makes it faster somehow

What do you think about move this question to the rjsf-team? Maybe they can give us an explanation why this is slow and give us a better explanation about slow schemas

@mcandeia mcandeia added admin and removed triage labels Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants