Closed XianYeeXing closed 4 years ago
Temporarily make a work-around in src/morthdom/index.js: 208
if (existingComponentLookup === undefined || (matchingFromComponent = existingComponentLookup[componentForNode.id]) === undefined) {...}
@XianYeeXing Thanks for reporting this issue. You're using webpack right? I tried the marko-webpack with the marko@4.5.61
and I am not seeing this issue. Can you provide a sample project or code sample that reproduces this issue? Thanks!
I am using browserify(14.4.0) with markoify(2.2.2) ^^b
@XianYeeXing Just wanted to follow up and say there are definitely some gaps in our markoify plugin. It didn't get fully updated when we moved to Marko v4. I would recommend using webpack or Lasso in the meantime.
We are no longer maintaining the Browserify plugin, I recommend using one of our up to date plugins (Webpack, Rollup or Lasso).
Bug Report
Marko Version: 4.5.x
Details
Error messages occur once trying to initialize and mount all of the server-rendered UI components by calling "require('marko/components').init()":
Everything works fine ob version 4.4.x though...