Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
What problem does this feature solve?
'Meta' allows for assigning immutable properties to a route. However there is a need to push arbitrary app state whenever a route changes to keep track of historical app state at the time of the route change. 'Meta' does not allow for the use of conditional state based on the route history. Currently the implementation uses the HTML5 history API for pushing state changes, but it does not allow the user to pass in arbitrary state that can be accessed again when going backwards in history. Please expose an extra parameter/object property to the API for this purpose.
What does the proposed API look like?