F
F
FastClick2022-01-29 10:08:38
React
FastClick, 2022-01-29 10:08:38

How to make html code show immediately?

Tell me, here I receive data from the api in the format: I display them on the client screen through a variable and Izer sees: Although I should immediately see the formatted text: Hello, world! Is it possible to somehow make the text appear normally to the user right away?
<b>Привет, мир!</b>

<b>Привет, мир!</b>



Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2022-01-29
@FastClick

dangerouslySetInnerHTML

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question