Component routing vs config-based routing

In Solid Router, what's the difference between component routing and config-based routing? Is the a particular reason someone wants to use one over the other?
1 Reply
Brendonovich
Brendonovich4w ago
Technically, component routing produces the same JSON object you would with config routing. Afaik its personal preference. Some people like splitting their routes into multiple components, but you could do the same thing with splitting the config object

Did you find this page helpful?