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

Update navigation and implement onLocationUpdate logic #43

Merged
merged 4 commits into from
Jan 7, 2024

Conversation

pleek91
Copy link
Contributor

@pleek91 pleek91 commented Jan 6, 2024

Description

Makes updateBrowserUrl a promise. Never resolves when the update is not same origin.

Updates createRouterNavigation to better support both node and browser environments

Updates createRouter to implement navigation and simplify implementation of router navigation methods.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleted this test because we decided updateBrowserUrl shouldn't even get called if isBrowser() is false.

@pleek91 pleek91 merged commit 9c00b0a into main Jan 7, 2024
3 checks passed
@pleek91 pleek91 deleted the navigation-and-location-refactor branch January 7, 2024 14:42
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