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
Hmm, I just realized throw should not be used for valid business case (GraphQL endpoint was updated). Render nothing (and request app update) is the correct approach.
Activity
steida commentedon Oct 30, 2018
Hmm, I just realized throw should not be used for valid business case (GraphQL endpoint was updated). Render nothing (and request app update) is the correct approach.
sophiebits commentedon Oct 30, 2018
I think we shouldn't warn on this.
Don't lint against Hooks after conditional throw
Don't lint against Hooks after conditional throw
Don't lint against Hooks after conditional throw
Don't lint against Hooks after conditional throw (#14040)
Don't lint against Hooks after conditional throw (react#14040)
Don't lint against Hooks after conditional throw (react#14040)