React-JSX Flashcards

1
Q

What is JSX?

A

JSX is a syntax extension that allows you to create html elements inside javascript and provide styling dynamically .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly