-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add run function #235
Comments
Any thoughts ? |
I use basically this,
|
Can you give an example of how that would work? |
Oh I now see your PR |
check |
Hello y'all ! Knowing hop usefull os altorouter that i discovered thanks to Grafikart on YouTube via his php lessons, i Would like to Know more With a good tutorial on YouTube |
Tutorial about altorouter on YouTube will ne very usefull. The creators must think to this |
Yes, a person typing typos, humming, hawing and bumbling around in a YouTube video is a great idea. Or even better, written text tutorial that can be quickly fixed and provide the info in a quicker fashion. |
Hello everybody ! Thanks and nice day to y'all. |
Hi. I would like to add a
run
method to start the router. This pattern (of defining the routes and then starting the router) typically exist in all the routers I know of, in Java, React, Node, etc...This would make the library easier to start with and reduces the boilerplate code in users' code.
We can still let the user control what happens if no matching route found via passing an optional callable to the
run
method.The text was updated successfully, but these errors were encountered: