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

Fix typo and internalise value state #23

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

bxvd
Copy link

@bxvd bxvd commented Aug 4, 2021

  • Fix typo on prop type checking
  • Add a setValue function and a value field in the state, so that a parent component won't have to maintain its own state and re-render itself on every value change.

@bxvd bxvd changed the title Fix typo in prop type checking Fix typo and internalise value state Aug 4, 2021
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.

1 participant