Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Fix hook example#3084

Open
Yhozen wants to merge 1 commit intofacebookarchive:mainfrom
Yhozen:main
Open

Fix hook example#3084
Yhozen wants to merge 1 commit intofacebookarchive:mainfrom
Yhozen:main

Conversation

@Yhozen
Copy link

@Yhozen Yhozen commented Nov 24, 2021

  • hook state initial value matching class state
  • fix the following error if using a function as initial state

Screenshot from 2021-11-23 22-02-15

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants