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

If Hook is not fired on mount #27

Closed
wokalski opened this issue Mar 29, 2019 · 0 comments · Fixed by #47
Closed

If Hook is not fired on mount #27

wokalski opened this issue Mar 29, 2019 · 0 comments · Fixed by #47

Comments

@wokalski
Copy link
Member

This was desirable design decision but it's both inconsistent with React.js and only causes headaches. If someone doesn't want to fire it on mount they can add a piece of state like isFirstRender which will be initially true.

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 a pull request may close this issue.

1 participant