leptos-rs / book

The home for the Leptos book, which can be found deployed at https://book.leptos.dev
MIT License
59 stars 58 forks source link

feat: add additional docs on using wasm-bindgen #70

Closed gbj closed 4 months ago

gbj commented 4 months ago

In #59, @blorbb created a really great discussion of web-sys and NodeRef/HtmlElement<T> vs web_sys::HtmlElement, how to use the Deref implementations it provides, etc.

This PR adds a section on using wasm-bindgen, and some reformatting/insertions along the way.