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
Does Talk.js provide a destroy(), unload(), or similar function? In SPAs, sometimes the same page is loaded more than once, and I want to prevent possible memory leaks: https://reactjs.org/docs/integrating-with-other-libraries.html
Example of what I think would happen: facebook/react#7128
Thanks
The text was updated successfully, but these errors were encountered:
Hi @dlaynes sorry for the late response!
This is a very good point, and it's missing in the example. Fortunately, we do have a destroy function: https://talkjs.com/docs/api/classes/inbox.html#destroy
That ought to go in the componentWillUnmount, we'll update the example. Thanks for pointing this out!
componentWillUnmount
Sorry, something went wrong.
Merge pull request #3 from MagnusMutai/example-TalkJS-chat-in-Blazor
225ea21
Added title to read me
No branches or pull requests
Does Talk.js provide a destroy(), unload(), or similar function?
In SPAs, sometimes the same page is loaded more than once, and I want to prevent possible memory leaks:
https://reactjs.org/docs/integrating-with-other-libraries.html
Example of what I think would happen:
facebook/react#7128
Thanks
The text was updated successfully, but these errors were encountered: