fengb / fundude

Gameboy emulator: Zig -> wasm
https://fengb.github.io/fundude/
MIT License
180 stars 8 forks source link

Optimize `preact/compat` #44

Open fengb opened 4 years ago

fengb commented 4 years ago

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.