rjsf-team / react-jsonschema-form

A React component for building Web forms from JSON Schema.
https://rjsf-team.github.io/react-jsonschema-form/
Apache License 2.0
14.34k stars 2.19k forks source link

Bad performance for list render #3183

Open v1talii-dev opened 2 years ago

v1talii-dev commented 2 years ago

Prerequisites

What theme are you using?

core

Version

5.x

Current Behavior

When the list contains a large number of elements (10000), the interface performance is poor. The result of the input operations or clicking on the list control buttons, you have to wait a few seconds.

Expected Behavior

Operations work without delay.

Steps To Reproduce

  1. Open demo
  2. Click "react-jsonschema-form DEMO" to go to the sandbox (link is very big for issue text editor...)
  3. Input value in array object
  4. Try to click move down/move up/delete button

Environment

No response

Anything else?

No response

heath-freenome commented 1 year ago

@v1talii-dev Thanks for the example. We have some pretty large issues to fix before we get to dealing with performance. We'd welcome any help on this

xyy7260 commented 1 year ago

@v1talii-dev Did you solve it? I'm also having performance issues