Using <Switch> in routes

Hey all, thanks so much for the hard work!

I’m running into issues when trying to use a <Switch> in my routes. Is this currently not supported? I’d like to handle my various layouts in the router of possible.

You are correct, this is currently not supported. But we’re working on a solution!

1 Like

Sweet, thanks @Tobbe!

1 Like

This might not be its final form, everything might change from now and until it’s delivered. But this is the current WIP prototype

1 Like