widgetti / solara

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

Use Fragments instead of solara.Column #596

Open maartenbreddels opened 3 weeks ago

maartenbreddels commented 3 weeks ago

When adding multiple children, solara wraps the current component in a solara.Column, which makes the elements be a child of a flexbox parent.

Since reacton now supports Fragments we can instead use that and simply support having multiple children.