G
G
gen20232021-10-20 23:10:34
React
gen2023, 2021-10-20 23:10:34

Convert text from json file to HTML code?

Good day. Please tell me, I am writing an application in react. There is a page with publications of articles. Articles are taken from the json file. The file contains tags . How or through which additional component can...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ikutin666, 2021-10-21
@ikutin666

look at the dangerouslySetInnerHTML attribute

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question