News for hackers. Stuff that matters.
Re:An experiment in UI density created with Svelte by andrewstuart on Sunday July 28, 2024 @07:46AM (#41092601)
https://static.crowdwave.link/index.html

Above is the evidence that react can handle this sort of thing just fine.

I hacked/converted the page in question to React to show something similar.

Its randomly generating updates to the table and then resorting the table and repeating.

You can grab the source here but I warn you it's hacked together in less than an hour:

https://static.crowdwave.link/sveltetest.zip

Re:An experiment in UI density created with Svelte by Thro4l31 on Monday July 29, 2024 @12:35AM (#41097912)
Of course React can handle complex and large scenarios. And those scenarios aren't even large. It's good that you created that proof. Still, Svelte is much easier while more performant, even if that extra performance is most often not needed. Large amounts of data can be managed by react-virtualized in React. IME Svelte (and Vue) can handle more without virtualization, but for really large data sets you need it anyway. The downsides of React are not performance IMO, but DX.
Re:An experiment in UI density created with Svelte by xsepsisx on Monday July 29, 2024 @04:51AM (#41098924)
What's so special about it? Golden rule - make granular components/updates, just it.