TODO MVC using wasm-bingen and web-sys
wasm-bindgen and web-sys coded TODO MVC
The code was rewritten from the ECMA 6 version.
The core differences are:
- Having an Element wrapper that takes care of dyn refs in web-sys
- A Scheduler that allows Controller and View to speak to each other by emulating something similar to the JS event loop.
The size of the project hasn't undergone much work to make it optimised yet.
~96kb release build
~76kb optimised with binaryen
~28kb brotli compressed