Elina

Results 255 comments of Elina

> Wait, why does ``'s `value` need special handling if it [already defines it](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value)? The special handling predates the `~property` syntax and controlled elements need it to be set as...

It's special because the value is always set as property, not attribute, for input

You need both passing and failing tests for it. You can copy a `-fail.rs` and `-pass.rs` from `yew-macro/tests/html_macro` and modify it as needed. To regenerate stderr files, you can run...

See #3512 Please follow the English documentation

That is a valid point. What if we improved the diagnostic instead of just saying "invalid type"?

Compile failures will be resolved by #3453

I would like to have a section about state somewhere other than hooks as well. Perhaps it can be in the components intro page? We can also move the table...

I'm not a fan of documenting this even further to avoid encouraging manual event listeners. Yew's event listeners should be preferred > Alternatively, the documentation for `use_effect_with_deps` could be enhanced...

https://github.com/hamza1311/ducktor is also another solution for this, though it falls apart when nested complex types are involved