-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Syntax differences without concise API documentation (what the actual API is, not sample code using a portion of it) make it hard to figure out what is allowed. For example, the readme has this example:
mount(MainLayout, {
content: () => (<WelcomeComponent name="Arunoda" />)
});
And the sample repo has this:
mount(AuthCheckCtx, {
LayoutDefault, content: () => (<Simplest title="Template..."/>)
});
...one has the layout component inside the object with another auth component outside and the other just outside. So can the object have nested components or just one and either way what args can and can't be inside and/or the object optionally or required?
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels