Skip to content
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

Develop #22

Merged
merged 12 commits into from
Apr 29, 2020
Prev Previous commit
Next Next commit
remove nodeId
makamekm committed Apr 29, 2020
commit 5b604582d84a255c32443d5f120dea5fd9903bd8
2 changes: 1 addition & 1 deletion content.plugins.js
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ async function setComponentFromCache(state, shared) {
if (node.id !== component.id && node.name.charAt(0) === '#') {
const name = getComponentName(node.name, options);
emptyChildren(state);
content.push(`<${name} {...props} nodeId='${node.id}' />`);
content.push(`<${name} {...props} />`);
if (!componentMap[name]) await createComponent(node, shared);
localComponentMap[name] = componentMap[name];