3 ms·
What frontend library do you think offers less boilerplate, clearer abstractions, and more well defined rules?
by romellem 5y ago
What frontend library do you think offers less boilerplate, clearer abstractions, and more well defined rules?
- mhoad 5y agoI really enjoy the Lit model. It’s quite a bit faster than React, it is a tiny bit of syntactic sugar on top of browser APIs. It’s powering Photoshop (https://web.dev/ps-on-the-web/ https://web.dev/ps-on-the-web/) and a future release of YouTube I believe. Take a look at real code here https://lit.dev/tutorial/ https://lit.dev/tutorial/ and component conceptual model here https://lit.dev/docs/components/overview/ https://lit.dev/docs/components/overview/
- picaso 5y agoLit is just react with web components. It uses all the same magic, and a whole bunch of documentation is needed (is this state reflective, reactive, blah blah). It does the same "let me figure out updates in the background and you don't worry about it" as React, just without a virtual DOM.