mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
`Model` is ambiguous and not a user-friendly name. Some of the newer docs are already referring to the root component as `App`. This PR follows this naming scheme: - `App` for a root component - `MyComponent` for an arbitrary component This naming is inspired by the React docs. i18n references were not changed. They need a larger rewrite which will go in a separate PR.
Node Refs Example
This example shows two input fields which are automatically focused when hovered over.
Concepts
The example uses Refs to manipulate the underlying DOM element directly.
Improvements
- Use CSS to improve the presentation of the example
- Expand this to a fully fledged form with input validation etc.