ssr-metas #26
@ -39,6 +39,10 @@ export default ()=>
|
|||||||
<Comp/>
|
<Comp/>
|
||||||
</React.Suspense>
|
</React.Suspense>
|
||||||
<Iso.Switch>
|
<Iso.Switch>
|
||||||
|
<Iso.Case value="/">
|
||||||
|
<p>thing1</p>
|
||||||
|
<p>thing2</p>
|
||||||
|
</Iso.Case>
|
||||||
<Iso.Case value="page">
|
<Iso.Case value="page">
|
||||||
<Iso.Switch>
|
<Iso.Switch>
|
||||||
<Iso.Case value="about-us">
|
<Iso.Case value="about-us">
|
||||||
|
@ -279,7 +279,7 @@ export const Switch =({children}:{children:Children})=>
|
|||||||
for(let i=0; i<children.length; i++)
|
for(let i=0; i<children.length; i++)
|
||||||
{
|
{
|
||||||
const childCase = children[i];
|
const childCase = children[i];
|
||||||
const childCaseChildren = childCase.props?.__args?.[2] || childCase.props.children;
|
const childCaseChildren = childCase.props?.__args?.slice(2) || childCase.props.children;
|
||||||
const newContextValue = checkChild(childCase);
|
const newContextValue = checkChild(childCase);
|
||||||
if(newContextValue)
|
if(newContextValue)
|
||||||
{
|
{
|
||||||
|
@ -396,7 +396,6 @@ else if(App && TwindInst)
|
|||||||
Iso.Fetch.ServerTouched = false;
|
Iso.Fetch.ServerTouched = false;
|
||||||
|
|
||||||
Iso.Meta.Meta = Iso.Meta.ComputeFinal(Iso.Meta.Stack);
|
Iso.Meta.Meta = Iso.Meta.ComputeFinal(Iso.Meta.Stack);
|
||||||
console.log(Iso.Meta.Stack);
|
|
||||||
const results = Twind.extract(bake, TwindInst);
|
const results = Twind.extract(bake, TwindInst);
|
||||||
|
|
||||||
type = `text/html`;
|
type = `text/html`;
|
||||||
|
Loading…
Reference in New Issue
Block a user