Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reformat docs on "Hooks" #3488

Closed
wants to merge 2 commits into from
Closed

Reformat docs on "Hooks" #3488

wants to merge 2 commits into from

Conversation

loenard97
Copy link

Description

Fixes #3486

A first draft on reformatting the "Hooks" part of the documentation.

  • The "State" page has been merged into a "Predefined Hooks" subsection.
  • Added the "use_state" example from the API docs to illustrate how hooks work.

The table on "Predefined Hooks" needs some more research on my part to fill everything out correctly.
Further ideas on what to add or move definitely welcome.

(Typo pre-defined -> predefined fixed where found: Cambridge dictionary)

Checklist

  • I have reviewed my own code
  • I have added tests

@github-actions
Copy link

Visit the preview URL for this PR (updated for commit 49ab71d):

https://yew-rs--pr3488-3486-docs-hooks-o4nfr8jk.web.app

(expires Thu, 02 Nov 2023 15:22:41 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

@loenard97 loenard97 closed this by deleting the head repository Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reformat "Hooks" section of docs
1 participant