concatRoutes
Takes an array of route maps and attaches them to a root map as branches
Arguments
Name
Type
Description
root
Map
The root Map we want to attach our branch to
routes
Map[]
An array of route Maps we want to attach to the root
Usage
The below main
constant now represents /home
, /home/account
, and /home/dashboard
Last updated