DEV Community

satishreddyu
satishreddyu

Posted on

1

How to display JSON data in React UI dynamically , not just plain data but with data having links in between the text too

{
"test1" : {
"question": "test 1 ",
"answer" : "test answer",
"question": "test 2",
"answer":" test answer 2 #Google link, answer something and all"
}

So How can we render the answer text having links like this Google Link in middle of text. As the answer node in the JSON will be normal text, how to make it dynamically render the data along with links

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more