Why can’t browsers read JSX?
Browsers can only read JavaScript objects. JSX is not a regular JavaScript object. Thus, to enable a browser to read JSX, first, we need to transform the JSX file into the JavaScript object using JSX transformers like Babel and then pass it to the browser.