We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When users refresh the page by accident, they lose their current thread. This can be frustrating because they have to:
This happens every time the page refreshes because we use useState to store the threadId.
useState
threadId
Let's fix this by using the URL to keep track of active threadId. For example:
/thread/<thread_id>
The text was updated successfully, but these errors were encountered:
ahmad2b
No branches or pull requests
Problem
When users refresh the page by accident, they lose their current thread. This can be frustrating because they have to:
This happens every time the page refreshes because we use
useState
to store thethreadId
.Solution
Let's fix this by using the URL to keep track of active
threadId
. For example:/thread/<thread_id>
for each threadWhy this matters
Technical Approach
/thread/<thread_id>
Questions
The text was updated successfully, but these errors were encountered: