Skip to content
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

Exported route atom set as function 'go' #20

Merged
merged 1 commit into from
Mar 31, 2016

Conversation

nikuda
Copy link
Collaborator

@nikuda nikuda commented Mar 31, 2016

This works a lot like anchor except it can be called in code without an user event. It lets you update the route without needing to pass the whole application state around.

i.e.

appState.route.set('/new-url-path')

becomes,

router.go('/new-url-path')

@twilson63 twilson63 merged commit 3e51379 into twilson63:master Mar 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants