Skip to content

Commit

Permalink
added: mechanism to defer initial state read for sub apps (#1630)
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikJoreteg authored Apr 29, 2020
1 parent 34b9681 commit bb36efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/subapp-web/lib/load.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ ${dynInitialState}<script>${xarc}.startSubAppOnLoad({
name:"${name}",
${elementId}serverSideRendering:${Boolean(props.serverSideRendering)},
${inlineStr}${groupStr}clientProps:${clientProps},
initialState:${initialStateScript}
getInitialState:function(){return ${initialStateScript}}
});</script>
`);
};
Expand Down

0 comments on commit bb36efb

Please sign in to comment.