Summary
In this chapter get got to grips with packaging WASM for the frontend and interacting with WASM using Rust. While we did not build anything substantial in WASM, we focused on building a foundational knowledge on how WASM is interacted with. At the time of writing this book, the APIs, and features of WASM is rapidly changing. If we built feature rich WASM program using the current APIs, this book would age quickly, and you would be having to Google the new APIs to figure out what you need to change to get your system running. Keeping an eye on WASM is a good idea. The advantage of compiling once and running anywhere including the browser is a strong advantage to have.
We are now at the stage where our basic application works in terms of creating, updating, and deleting to-do items. However, if we were to deploy it right now for multiple users, our data storage solution would slow down the number of requests and we would be held back by the lack of concurrency and networking capabilities...