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

ensure router is initialized when subscribing to session #1691

Merged
merged 2 commits into from
Jun 16, 2021
Merged

ensure router is initialized when subscribing to session #1691

merged 2 commits into from
Jun 16, 2021

Conversation

ignatiusmb
Copy link
Member

@ignatiusmb ignatiusmb commented Jun 15, 2021

Fixes #1658

This will make sure that renderer is ready and the router is initialized as well on session subscription. This should fix and silence the TypeError thrown at runtime. It doesn't really breaks the application AFAICT, but it's still quite annoying and concerning.

@changeset-bot
Copy link

changeset-bot bot commented Jun 15, 2021

🦋 Changeset detected

Latest commit: 948b89c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sveltejs/kit Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@benmccann benmccann added the bug Something isn't working label Jun 15, 2021
@benmccann benmccann merged commit aedec24 into sveltejs:master Jun 16, 2021
@ignatiusmb ignatiusmb deleted the i1658/session-update-typeerror branch June 19, 2021 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working router
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError when updating $session in component constructor
2 participants