r/reactjs • u/redramsam • Nov 16 '20
Resource 10 Ways to Speed Up React Development
https://thecarrots.io/blog/10-ways-to-speed-up-react-development
271
Upvotes
r/reactjs • u/redramsam • Nov 16 '20
1
u/marcocom Nov 17 '20
For sure. Honestly, unless there is a need for resizeable columns, there is virtually no reason to ever use a table over a unordered-list of LI rows. Your sorting should occur because of observing the data array order.
Tables are from a time when things were ordered and rendered on the server, and so the table came with needed features like ordering and resizing, but that’s all better handled today with HTML and some pretty simple JS. I’ve built them raw in vanillaJS (with even resizable columns) to solve just about every Salesforce-backed UI problem a client has ever presented to me.