Y
Hacker News
new
|
ask
|
show
|
jobs
by
Swizec
228 days ago
The router is just the most parenty component. It’s the component that takes some input (like a url) and uses what is essentially a giant switch statement to decide what gets rendered.
1 comments
ricardobeat
228 days ago
You could justify putting anything and everything in the router with this argument.
link