yew icon indicating copy to clipboard operation
yew copied to clipboard

Rust / Wasm framework for creating reliable and efficient web applications

Results 290 yew issues
Sort by recently updated
recently updated
newest added

#### Description This answers two questions: can hooks access mutable state without hiding it in internally mutable state such as `RefCell`, and can they return data only accessible for the...

#### Description Fixes #2405 #### Checklist - [ ] I have run `cargo make pr-flow` - [x] I have reviewed my own code - [ ] I have added tests

A-yew
S-waiting-on-author

#### Question I'm using refs to register event listeners for non-Yew-supported event types. Following the `node_refs` example, it makes sense to use the `rendered` method to do setup on first...

question
A-yew

**Problem** Hooks can be called in either function components or other functions marked as `#[hook]` (custom hooks). Calling hooks in a context that is not either of those results in...

bug
A-yew

**Problem** The rewriting of `function_component` breaks when using hooks inside `html!` (and other macros, but I don't think it's easy to solve it in general). ```rust use yew::prelude::*; #[function_component(App)] fn...

bug
feature-request
blocked
A-yew-macro

**Problem** Per #1345, a key prop should be provided whenever there is an array of children elements. We do not currently see an error or warning when one is not...

bug
A-yew-macro

## Problem With the introduction of dynamic tags in #1266 there are now three different ways of constructing HTML tags: 1. Using literal tags in the `html!` macro (``) 2....

proposal
A-yew
A-yew-macro

**Problem** When trying out the new suspension feature I noticed the component is just trying to be rendered in a loop without any regard for the HtmlResult. ``` use yew::prelude::*;...

documentation
A-yew

**Suggestion** The scheduler for component lifecycles currently pushes boxed runners into the queue, incurring an allocation. A stable memory allocation is already available, in the form of a `Rc` for...

ergonomics
performance
A-yew

#### Question What is the recommended way to format html and rust code within the `html!` macro invocation? #### What I've tried (optional) rustfmt 1.4.14 - doesn't (re)format anything within...

question
A-yew-macro