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
Snapguidist throws an error in the browser console when we load a React.FunctionComponent with hooks in React Styleguidist. It doesn't break the compilation but throws an error onto the console. React 16.8 was released just a day ago along with the hooks and snapguidist should add support for it as we are moving from class based components to function based components and hooks are necessary for adding state to the components.
Without the snapguidist it works perfectly so I presume it's got to be a problem with either snapguidist or one of its dependencies.
Snapguidist
throws an error in the browser console when we load aReact.FunctionComponent
with hooks inReact Styleguidist
. It doesn't break the compilation but throws an error onto the console.React 16.8
was released just a day ago along with the hooks and snapguidist should add support for it as we are moving from class based components to function based components and hooks are necessary for adding state to the components.Without the snapguidist it works perfectly so I presume it's got to be a problem with either snapguidist or one of its dependencies.
Example:
This will throw the same error shown above
The text was updated successfully, but these errors were encountered: