You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 24, 2020. It is now read-only.
We don't do any checking or handling when a hook is called outside of a render function. This is simple to reproduce - just by calling useState outside of a component.
We should add a test case that exercises this, and validates an appropriate, actionable exception is thrown.
We don't do any checking or handling when a hook is called outside of a
renderfunction. This is simple to reproduce - just by callinguseStateoutside of a component.We should add a test case that exercises this, and validates an appropriate, actionable exception is thrown.