Elina
Elina
I will leave the issue open. SSE is something that should be supported.
Can you try adding the new crate as a dependency in Yew? I don't think it can be used for Yew tests because of circular dependency
> it's only internal tests (`cfg(test)` in the crate) that can be confusing. I'd argue that these sort of tests shouldn't be super-interested in the test-runner the PR introduces. There's...
There's also another option to add `#[redirect_to("/...')]` for `Routable`. This will be useful in cases more than just 404s on inner routes
This tutorial was written before the Clone bound on Properties was removed. Thanks for catching this.
This PR had been open for a while so I went ahead and updated it myself
`wasm_bindgen` handles including all the assets that it uses. So if you build a library that has JS modules imported via [JS Snippets](https://rustwasm.github.io/wasm-bindgen/reference/js-snippets.html#js-snippets), you don't have to manually import them....
I can't get any tests for this to pass: ```rust #[cfg(all(test, not(target_arch = "wasm32")))] mod tests { use super::*; use crate::html; #[test] fn from_raw_html_works() { let vnode = html! {...
I ran twiggy and couldn't find why the example sizes have increased ``` >> twiggy diff dist-master/counter_functional-e727bce1d90867ec_bg.wasm dist/counter_functional-68f055d125afbdf4_bg.wasm Delta Bytes │ Item ─────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── +4888 ┊ yew::dom_bundle::blist::::reconcile::h3b49db0a1910a2e4 -4887 ┊ yew::dom_bundle::blist::::reconcile::hcec22fdf4efde7ed +4654...
I have no idea what's causing the binary size increase. Perhaps it's the additional `web-sys` feature? [Twiggy](https://github.com/yewstack/yew/pull/2842#issuecomment-1236127631) also doesn't show anything useful