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

Fix route props not clearing after navigation happens #430

Merged
merged 1 commit into from
Jan 18, 2025

Conversation

pleek91
Copy link
Contributor

@pleek91 pleek91 commented Jan 18, 2025

Description

Because of a bad for loop the props store wasn't actually clearing out props from previous navigations. This meant that if you re-navigated to the same route the props wouldn't be run again.

Copy link

netlify bot commented Jan 18, 2025

Deploy Preview for kitbag-router ready!

Name Link
🔨 Latest commit 75dd2e6
🔍 Latest deploy log https://app.netlify.com/sites/kitbag-router/deploys/678b19daca3b470008e0e870
😎 Deploy Preview https://deploy-preview-430--kitbag-router.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@pleek91 pleek91 merged commit 036324c into main Jan 18, 2025
6 checks passed
@pleek91 pleek91 deleted the fix-route-props-clearing branch January 18, 2025 16:50
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