4 ms·
1.) The syntax in creating the view: is just plain function calls which the rust compiler can accurately tell you about errors in your code, ie: typo, unclosed
by ivanceras 7y ago
1.) The syntax in creating the view: is just plain function calls which the rust compiler can accurately tell you about errors in your code, ie: typo, unclosed brackets/braces/parenthesis mismatch.
2.) Concise code, there is not too much ceremonial/boilerplate code to get started.
3.) Less code in the library maintain, there is no parser(which are mostly complex).
4.) Sauron is using wasm-bindgen, yew is using stdweb.
5.) It's in the early phase, so the performance is not yet optimized. https://github.com/ivanceras/todomvc-perf-comparison/ https://github.com/ivanceras/todomvc-perf-comparison/
- dbrgn 7y agoThanks, good luck with this project :) I'm looking forward to a mature Elm-like web framework in Rust in the future.
- kouteiheika 7y ago> 4.) Sauron is using wasm-bindgen, yew is using stdweb. FYI, since the most recent stdweb version it's possible to use `wasm-bindgen` with Yew