update api doc link in hooks page to version 0.20 (#2994)

This commit is contained in:
ta32 2022-12-04 06:35:45 +11:00 committed by GitHub
parent 0cb04c779a
commit 21680d6c34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ Yew comes with the following predefined Hooks:
- `use_context`
- `use_force_update`
The documentation for these hooks can be found in the [Yew API docs](https://yew-rs-api.web.app/next/yew/functional/)
The documentation for these hooks can be found in the [Yew API docs](https://docs.rs/yew/0.20.0/yew/functional/index.html)
### Custom Hooks