widgetti / solara

A Pure Python, React-style Framework for Scaling Your Jupyter and Web Apps
https://solara.dev
MIT License
1.62k stars 105 forks source link

fix: support Layout when specifying routes #554

Closed maartenbreddels closed 2 months ago

maartenbreddels commented 2 months ago

Before, if we specified


routes = [
    solara.Route(path="/", component=Home, label="Home", layout=Layout),
    solara.Route(path="about", component=About, label="About"),
]

We would not render the the page and layout correcly.

maartenbreddels commented 2 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @maartenbreddels and the rest of your teammates on Graphite Graphite

maartenbreddels commented 2 months ago

Merge activity