-
hi |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
hi @wss29 — Right now you'll need to force the component to re-render.
And when you want to force a renrender, you can simply change the value of that key:
This is not ideal, as it will re-render the entire component, but it works. |
Beta Was this translation helpful? Give feedback.
-
@wss29 new API method added for this purpose. Documentation: No need for React key hack anymore. |
Beta Was this translation helpful? Give feedback.
@wss29 new API method added for this purpose.
Documentation:
https://docs.nlkit.com/nlux/reference/api/methods/reset-conversation
No need for React key hack anymore.
Give it a try and let us know how it works for you ✅