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: Update query state key from 'hello' to 'name' in BasicUsageDemo #665

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

kzhgit
Copy link

@kzhgit kzhgit commented Oct 3, 2024

This PR fixes a small issue in the BasicUsageDemo where the query state key was incorrectly set to 'hello'. The correct key should be 'name', as it more accurately represents the state being queried.

By making this adjustment, the code becomes clearer and aligns better with the expected functionality. I have tested the changes locally to ensure the demo behaves as intended with the updated key.

Copy link

vercel bot commented Oct 3, 2024

@kzhgit is attempting to deploy a commit to the 47ng Team on Vercel.

A member of the Team first needs to authorize it.

@franky47
Copy link
Member

franky47 commented Oct 3, 2024

This is a duplicate of #611, and my comment there still stands: this would break existing URLs, and cool URLs don't break.

That being said, I would accept a change of the key if there was a middleware doing the translation from the old key to the new one.

@franky47 franky47 added the documentation Improvements or additions to documentation label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants