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