Routing in components works as specified below (suggested new part is IN ALL CAPS):
(***)
If it's a function, run it. If it returns something truthy, look for the next middleware.
If it's an array, goto (***) for each item in the list
If it's a string
look and see if it matches known shorthand. If so, configure an instance of the appropriate middleware blueprint and configure it using the specified arguments, if relevant.
If it doesn't match any shorthand, look for a method with the same name in the component, if one is found, goto (***)
If it STILL doesn't match anything, look for a method with the same name in the FRAMEWORK object itself. goto (***)
Routing in components works as specified below (suggested new part is IN ALL CAPS):
(***)
FRAMEWORK
object itself. goto (***)