1. Standards first: User interfaces should be assembled with HTML, styled with CSS, and enhanced with JavaScript.
2. Less abstractions: UI composition should be easy and require as few idioms and abstractions as possible, both on client and server.
3. Design Systems: Design should be a separate subsystem, easily accessible for developers who care about and understand design.
4. Scalability: Complex UIs should retain simplicity as the application grows.
Eager to hear your thoughts!
jitl•7h ago
tipiirai•7h ago
madeofpalk•6h ago
Where does the 'must' come from? A react component will trivially handle 200k records with list virtualisation with just javascript
tipiirai•6h ago
madeofpalk•6h ago
This seems like a pretty deep flaw. It would be okay to have poor performance, but flat out crashing seems bad.
jitl•6h ago
I just tried making an array w/ 1 million items in it in my browser console `Array.from({ length: 1_000_000 }, () => ({ id: ++nextId, data: Math.random() }))` without issue. Virtualization is just simple arithmetic to select the firstRender and lastRender indexes in the array. I don't think you need WASM for this.
__jonas•5h ago
https://bvaughn.github.io/react-virtualized/#/components/Lis...
This example seems to be able to do 200k+ rows without any problems at all. For me it's smooth up to 10,000,000 even with dynamic row heights. Is there something I'm missing?
brylie•7h ago
tipiirai•7h ago
[1]: https://bradfrost.com/blog/post/front-of-the-front-end-and-b...
CafeRacer•6h ago
On our app we render large datasets (e.g. 40-50k records) and provide filtering/searching with rxjs.
Search even uses a levenshtein distance and the entire collection is sorted based on the similarity score.
Works like a charm.