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
Element should properly be wrapped/rendered/mounted.
Actual Result
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Version
0.87.3
The text was updated successfully, but these errors were encountered:
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
Apologies! I had confirmed several times and this was not working and now it's working great! I may have unintentionally upgraded some libs or something in the meantime. At any rate I've switched to using the Ref HOC and everything works as intended! Thank you!
Bug Report
It seems that the
Ref
HOC doesn't play well with Enzyme. Usingshallow
will result in a warning andrender
ormount
will throw an error.Steps
Expected Result
Element should properly be wrapped/rendered/mounted.
Actual Result
Version
0.87.3
The text was updated successfully, but these errors were encountered: