You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a cool library, but why on earth does it delete the text the moment after it renders?
I can't find an option to make the text simply render without it deleting afterwards.
Edit: I found a solution. Basically, manage your array of strings yourself in React, and you can pass a single string to strings - it doesn't have to be an array.
These will all auto-delete after rendering for some reason:
Possible duplicate: #162
This is a cool library, but why on earth does it delete the text the moment after it renders?
I can't find an option to make the text simply render without it deleting afterwards.
Edit: I found a solution. Basically, manage your array of strings yourself in React, and you can pass a single string to
strings
- it doesn't have to be an array.These will all auto-delete after rendering for some reason:
But this works:
just manage the state of text in React, and pass the currently rendered string directly (not in an array)
The text was updated successfully, but these errors were encountered: