So quit it with the SPA/JS-heavy React nonsense already.
So quit it with the SPA/JS-heavy React nonsense already.
Same React app. One is bundled as is.
Another uses preact/compat to alias React imports and swaps in Preact under the hood.
Bundle size (gzip):
React: ~140KB
Preact: ~8KB
All of this by just changing a few lines and installing a couple of packages.
Same React app. One is bundled as is.
Another uses preact/compat to alias React imports and swaps in Preact under the hood.
Bundle size (gzip):
React: ~140KB
Preact: ~8KB
All of this by just changing a few lines and installing a couple of packages.
"Even without using the Signals primitive, Preact is impressively performant."
electricui.com/blog/benchma...
"Even without using the Signals primitive, Preact is impressively performant."
electricui.com/blog/benchma...
It makes complex layouts so much easier to manage
docs.astro.build/en/basics/as...
It makes complex layouts so much easier to manage
docs.astro.build/en/basics/as...