-
Notifications
You must be signed in to change notification settings - Fork 11
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
Persist chat on window refresh #28
Comments
Man, you can't have bad ideas 😄 . Sound great |
@manuelalferez In our current webpack config we need to add babel packages for using async await. So I think instead of changing current config we should migrate to use vite by merging #26 PR. We just need to figure out why the build is failing. Other changes I have tested locally and everything is working fine |
@iamvishal345 if #26 works in your machine I will merge and I will configure vercel to use Vite. In my machine it's not working. |
@manuelalferez It is working but first we need to know why the build is failing. |
It was falling cause I was using the CRA config, now with Vite config, everything works. |
Solved. |
Some recent changes are lost due to this merge. |
@manuelalferez |
Thanks @iamvishal345 |
@manuelalferez |
Hi @iamvishal345, could you create a pull request with what you have until now? |
The little that I have found, and perhaps this solution you have already tested is:
Let me know if I didn't understand the problem well. |
Let me try this approach |
This issue is addressed in PR #43 so this issue can be closed when it's merged |
@manuelalferez
I would like to work on adding feature to store chat into browser's storage so that if user refreshes the page the chat will persist.
I am thinking to leverage indexed DB API for that. Also clear that chat when user closes the chat box or navigate to other page.
The text was updated successfully, but these errors were encountered: