My react app accepts user input (think tweet). Sometimes users enter urls in the middle of their messages. How do I make these urls clickable links when viewing?
The text is stored in the db as a string.
My react app accepts user input (think tweet). Sometimes users enter urls in the middle of their messages. How do I make these urls clickable links when viewing?
The text is stored in the db as a string.