4 ms·
The answer is React, or if by lightweight you mean library size, then use Preact [0] which is 3kB . [0] https://preactjs.com/guide/v10/differences-to-react ht
by Graffur 5y ago
The answer is React, or if by lightweight you mean library size, then use Preact [0] which is 3kB .
[0] https://preactjs.com/guide/v10/differences-to-react https://preactjs.com/guide/v10/differences-to-react
- alserio 5y agoI'm sure, even if I cannot prove it, that React has its use cases. But even if you ignore the library size, it's not lightweight for any definition of the world. Preact is nice, though.
- Graffur 5y agoReact is a front-end library that isn't particularly 'deep'. It's pretty simple to do simple things. By that definition it's lightweight in my opinion.
- marto1 5y agoI'd pitch in SolidJS on the lightweight part. Overhead is close to zero and the library is ~15Kb I think.