yew
yew copied to clipboard
Rust / Wasm framework for creating reliable and efficient web applications
#### Description This redesigns the file upload example with better styling. Support for previewing media is added, as well as support for drag & drop. #### Checklist - [X] I...
**Problem** This setup causes a panic: ``` #[function_component(Parent)] pub fn parent() -> Html { let shared_state = use_state(|| String::default()); html{ } } // snip child props #[function_component(Child)] pub fn child(props:...
#### Description I'm creating this draft PR to start the process of translating the documentation to spanish. I will try to take the lead on this, but any help from...
The official Yew Playground is up at https://play.yew.rs/. We should add it to the documentation. - [`html_playground_url`](https://doc.rust-lang.org/rustdoc/write-documentation/the-doc-attribute.html#html_playground_url) should be set for API docs - Code blocks should we swizzled on...
Currently, prepared states are implemented with `bincode` + `base64`. This implementation is selected as it results in the smallest artifact of both hydration enabled wasm file and html file. However,...
**Problem** In Yew 0.18, since properties were stored in the component, it was trivial to compare the old properties to the new ones in the `change()` lifecycle method. In Yew...
Sometimes the deeply nested `html!` macro can cause the compile time to increase exponentially. Breaking away a couple layers of html tags can solve this issue, but we still need...
**Problem** Hydration fails when SSR outputs a `` without a `` tag. The browser will insert a `` and thus SSR and CSR are not in sync. Not sure if...
[](https://issuehunt.io/r/yewstack/yew/issues/1121) **Problem** Yew starts workers by making a fake script, setting its source, and trying to call wasm_bindgen on it, which doesn't work in the scope of webpack. #### Potential...
**Problem** A variation of the issue @futursolo raised in https://github.com/yewstack/yew/pull/2705#discussion_r883513922 exists in 0.19.3. A difference is that the vtag reconciliation works off a pre-existing tag instead of next_sibling, but forcing...