YYsuni / react18-json-view

JSON viewer for react18
https://jv.yysuni.com/
MIT License
236 stars 15 forks source link

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

Closed Liu7i-67 closed 6 months ago

Liu7i-67 commented 10 months ago

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 10 months ago

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❤️. 🤔 🫡

Liu7i-67 commented 6 months ago

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 6 months ago

Okay...

YYsuni commented 5 months ago

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