josdejong / josdejong/svelte-jsoneditor

Bad performance of rendering objects with many keys in tree mode

Open
#552 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
1.3k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

In tree mode, an array with many items renders only the first 100 items and allow to "Show more". This makes sure the performane of rendering large arrays is fast. A similar case is an object with many keys. Right now, the editor renders all keys, which can be slow when having a lot of keys (like thousands).

In case of an object with many keys, it would be neat to only render the first 100 keys to keep performance good.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.