3 ms·
I think if/else statements with regexps, returning components, are my favorite "routing solution". Ridiculously simple, no dependency on someone else's weird e
by mbrock 10y ago
I think if/else statements with regexps, returning components, are my favorite "routing solution".
Ridiculously simple, no dependency on someone else's weird ever-changing ideas about declarative composable component-based route paradigms, no need to write your routes in a markup language, everybody understands it, extensible as hell, trivial to debug—it's a glorious cascade of beautiful advantages.
Try if/else today!