Allan b3f8ca1920
Replace Model with App or MyComponent (#2336)
`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.
2022-01-07 20:50:21 +05:00
..
2020-09-22 00:17:48 +02:00
2021-12-08 19:13:40 +01:00

Node Refs Example

Demo

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.