-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Morphdom is not a function #75
Comments
When changed the code in yo-yo's |
@isabellachen Sounds like you might need to downgrade to an older version of morphdom since they broke something... maybe try version |
@isabellachen , did you fix your problem? I think I had the same one, which stemmed from some unplanned upgrades in my webpack/babel stack. As best I can tell, there's some disagreement around backwards compatibility/slop of default exports in webpack. To get yo-yo working after my upgrades, I added to my package.json the dependency @babel/runtime ^7.8.3 and devDependencies
I also prefixed my webpack config entry value with
|
@jonathanlb Thanks for the solution. We actually copied the entire library into our own files an used it this way for awhile before running into other troubles and giving in to using React :/ |
The actual morphdom function isn't available because of modules/bundlers. See max-mapper#75 (comment) for more information. Closes max-mapper#75
When I try to run a function that calls
yo.update
I get an uncaught TypeError,morphdom is not a function
I have the latest version of yo-yo: 1.4.1
The text was updated successfully, but these errors were encountered: