useUpdate
Force an update, ideal for working with references
It is normal that the state of your component depends on the references of a slot, this hook facilitates the process of observing these references without the need to associate the changes to a state.
Syntax
Where:
update
: Callback, force component update.