Replies: 1 comment 1 reply
-
I don't see a link. Can you post the link to the tutorial? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone,
I'm currently going through a tutorial on React Router, and I've come across an issue that's puzzling me. The tutorial link is here.
The specific problem (Problem 1) I'm facing is a bit confusing. I initially thought I had resolved Problem 2, where changing the URL updates the input box's defaultValue. However, when I click the browser's back button, the value of the input search box doesn't revert. I've checked the variable 'q' in the component, and it does change, but it just doesn't update in the form.
I suspect there might be some technical details that I'm not familiar with. I was hoping someone could provide some insight or guidance on this issue.
Thanks in advance for any help!
Beta Was this translation helpful? Give feedback.
All reactions