Open
Description
Suggestion
While evaluating json-editor-react as a possible replacement for josdejong/jsoneditor, I noticed that json-editor-react can become slow when rendering large items. Setting collapse
helps, but one features that jsoneditor provides by default is a sort of pagination or summary feature for long arrays. For example, an array of 232 objects shows items 0 through 99 then the following text:
displaying 100 of 232 items. show more. show all
The exact number could perhaps be configured via some sort of arrayPageSize
or itemsPerPage
or maxArrayItems
prop or similar.
I can try and submit a PR if this feature seems worthwhile.
Use case
Faster rendering, more compact display.