jonathanKingston / todomvc-wasm

A TODO MVC implementation using web-sys to make WASM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Size

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

About

A TODO MVC implementation using web-sys to make WASM


Languages

Language:Rust 84.9%Language:CSS 11.9%Language:HTML 2.4%Language:JavaScript 0.4%Language:Shell 0.3%