YYsuni/react18-json-view

If there is too much JOSN content, there will be a delay.

Closed this issue · 4 comments

When I try to write 30000+ lines of json content, the collapsed block will stall

I also implemented a simple react json presentation where I sliced the json data when it exceeded a certain number of lines and rendered more content when scrolling. And always make sure that only a maximum of 3 slices of content are rendered on the page, so that the user experience will be better

YYsuni commented

Hmm, it makes perfect sense to me and doesn't sound that easy. I've taken note of it. Alternatively, you can try submitting a pull request❤️. 🤔 🫡

Please help to remove this issue. Now I have no interest in it. Because of it, this warehouse has been displayed in my Top Repositories, which is maddening, thank you.

YYsuni commented

Okay...

Sorry for the delay, I split the large arrays on the new canary version and hope this helps.