React-JSX Flashcards
(2 cards)
1
Q
What is JSX?
A
JSX is a syntax extension that allows you to create html elements inside javascript and provide styling dynamically .
2
Q
How does React use JSX to render components?
A
It uses JSX by wrapping html elements within a single parent tag or a fragment.