3 ms·
How much is preact-compat gzipped? Can't seem to find it on the website... EDIT found it: preact-compat adds somewhere around 2kb to your bundle size, but has
by rattray 10y ago
How much is preact-compat gzipped? Can't seem to find it on the website...
EDIT found it:
preact-compat adds somewhere around 2kb to your bundle size, but has the advantage of supporting the vast majority of existing React modules you might find on npm. The preact-compat package provides all the necessary tweaks on top of Preact's core to make it work just like react and react-dom, in a single module.