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 has been archived by the owner on Feb 14, 2023. It is now read-only.
Currently, the user receives "globalStateManager.set is not a function" when trying to setGlobal (helper function) -- probably due to globalStateManager being undefined or null.
Root cause appears to be importing React from react instead of reactn.
If globalStateManager is null, throw an Error saying to import from the correct package.
The text was updated successfully, but these errors were encountered:
quisido
changed the title
Throw more helpful error when React is not imported from reactn.
Change helper function export names so that auto-imports pull from index instead of helper function file.
Jun 1, 2019
Currently, the user receives "
globalStateManager.set
is not a function" when trying tosetGlobal
(helper function) -- probably due toglobalStateManager
being undefined or null.Root cause appears to be importing React from react instead of reactn.
If globalStateManager is null, throw an Error saying to import from the correct package.
The text was updated successfully, but these errors were encountered: