ReplyMar 7, 2022
Babel handles converting our JSX to JavaScript code so that React can render our applications. We can make use of the current tools like transpilers so that we can write clean and readable code. Let the tools (Babel) convert our code to something that browsers can understand. Browsers can't read JSX because there is no inherent implementation for the browser engines to read and understand them. JSX is not intended to be implemented by the engines or browsers, it is intended to be used by various transpilers to transform these JSX into valid JavaScript code.