Skip to content

useUpdate ​

Used to simulate and rerender the page

Code demonstration ​

Default Usage ​

Advanced usage ​

API ​

typescript
const update = useUpdate()

Remark

By changing the variable, listening to this variable to achieve the simulated effect

Source ​

Source · Document · Demo

Released under the MIT License.