Phil @brumm.dev · Dec 29

Finally think I got a good grasp around tanstack router's pathless routes: They're essentially route "middlewares" you can wrap other routes with, opting in by prefixing your route with the pathless route name.

2 likes 2 replies

?

Replies

jwstn · Dec 29

most of the stuff I saw was labeled as layouts. Also in the very basic start example they were only used to create a layout which I find missleading since they can be used for stuff like this.

Phil · Dec 29

Oh, and you can of course also use them as layout wrappers, by rendering an outlet.