-
Notifications
You must be signed in to change notification settings - Fork 0
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
Subroutes #28
Subroutes #28
Conversation
I'd prefer the react router syntax, as it's more flexible, and would keep things consistent: https://reacttraining.com/react-router/web/api/Route/component |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code and functionality look great :) not that fussed with picking the triangle syntax either but might be worth getting other opinions
This adds the ability to use subroutes to the Collections framework.
The general plan has been to provide helper functions that are backed by the current subgroup system. Paths with <triangle_bracket> items in them can be substituted by using the 'collectionAtSubpath' and 'itemAtSubpath' helpers - further details can be found in the README or the tests files.
I am not 100% sure on the naming of some of the functions - they're a bit verbose. Also, if people would prefer a different matcher rather than triangle brackets, then they should probably say.
Fixes #16