J
J
Jedi2020-01-19 10:18:39
React
Jedi, 2020-01-19 10:18:39

How to display curly braces in JSX?

How do I output curly braces in JSX?
Example:<span>Привет! Я фигурная скобка {}</span>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
camelCaseVlad, 2020-01-19
@PHPjedi

Use template strings
https://developer.mozilla.org/en/docs/Web/JavaScri... https://codesandbox.io/s/dreamy-rgb-h1tst

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question