Here is some sample generated code. Notice that meta__Layout__SSR(...) does not receive a ref object, but the three dependency props instead.
Page__Company__SSR._render = function (__result, state, options) {
__result.addComponent(Page__Company__SSR);
state = Object.assign(options.store._init(["summary__company"]), data$3(), state);
state.meta__Layout__SSR = meta__Layout__SSR(state.ctx, state.meta, state.company_locator);
state.styles__Layout__SSR = styles__Layout__SSR(state.ctx, state.styles);
state.scripts__Layout__SSR = scripts__Layout__SSR(state.ctx, state.scripts);
state.company_name = company_name$5(state.$summary__company);
state.title = title$1(state.ctx, state.company_name);
return "" + Layout__SSR._render(__result, {
ctx: state.ctx,
meta: state.meta__Layout__SSR,
styles: state.styles__Layout__SSR,
title: state.title,
scripts: state.scripts__Layout__SSR,
components__load: state.components__load
}, {
store: options.store,
slotted: {
default: function () {
return "\n " + Page__Company._render(__result, {
ctx: state.ctx
}, {
store: options.store
}) + "\n";
}
}
});
};
Here is some sample generated code. Notice that
meta__Layout__SSR(...)does not receive arefobject, but the three dependency props instead.