Re:The front end community wants to wash its hands of the de...
by Existenceblinks on Saturday October 22, 2022 @02:26AM
(#33296026)
There are a couple of full-blown text editors written in vanilla js so it's very capable of doing highly interactive.
[ Parent
| on HN ]
Re:The front end community wants to wash its hands of the de...
by cehrlich on Saturday October 22, 2022 @03:18AM
(#33296217)
Of course it's _possible_. If you go deep enough, React is just vanilla JS after all. The question is how fast a team can build and maintain something with each method.
Re:The front end community wants to wash its hands of the de...
by Existenceblinks on Saturday October 22, 2022 @05:18AM
(#33296728)
This is what I do. Make the core pattern solid (barely touch this), and extended functionalities in vanilla way; i.e. just write another function receive context and return expected things. You can use solid/uhtml/preact/lit "the view part" they all have it separated from component model. It's 6-8kB (.min). Everything else is just application logic. react-dom is 130kB now and even slower than the rest.