fengb/fundude

Optimize `preact/compat`

Opened this issue · 0 comments

fengb commented

image

preact/compat adds ~14% to the package size. This is useful in debug mode because react-window is powerful and necessary, but it's overkill for the landing page bundle.

I think we should switch to preact proper and possibly move src/wasm/react.jsx into src/web since it doesn't really live alone.