Skip to content

React.Outlet-like feature #973

Discussion options

You must be logged in to vote

Hi @edan-bainglass! That's a good question.

Solara already supports routing (docs), both based on automatic file discovery, or manual management. You can use routing together with the special Layout component to wrap all the children (or all the children of some sub-route) with whatever structure you want.

I made a quick PyCafe example to illustrate the usage.

Let me know if you have any further questions!

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by edan-bainglass
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@edan-bainglass
Comment options

@iisakkirotko
Comment options

@edan-bainglass
Comment options

@iisakkirotko
Comment options

@edan-bainglass
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants