ref
ref is a small helper for getting a reference to an element via an attribute. It's a signal that can be used in places like effects. The ref will be set as soon as the element is created, before childrens are created. Be aware that properties like clientWidth may return 0. See mounted ref example here.