yew v0.7 Release Notes

Release Date: 2019-07-19 // almost 5 years ago
  • Commas? We don't need no stinkin' commas!

    ๐Ÿš€ This release brings a new and improved html! macro for writing JSX-like syntax. Commas and colons are no longer necessary now that the macro is written as a procedural macro.

    • โšก๏ธ Features

      • html!{} is now valid syntax and can be used to render nothing [[@jstarry], #500]
      • Apps can now be built without cargo-web using wasm-bindgen [[@jstarry], #497]
      • Callback now implements Debug [[@DenisKolodin], #485]
      • New utility method for getting the host of the current page [[@DenisKolodin], #509]
    • ๐Ÿ›  #### ๐Ÿ›  Fixes

      • html! - Commas are no longer necessary for splitting up attributes [[@jstarry], #500]
      • html! - Colons are no longer necessary for denoting a Component tag [[@jstarry], #500]
      • Textarea value can be now be set: <textarea value="content"> [[@DenisKolodin], #476]
      • changed StorageService::restore to take an immutable receiver [[@dermetfan], #480]
      • Fixed a component rendering bug [[@jstarry], #502]