What is JSX?
Javascript XML that makes it easier to write and add HTML in react so that we can visually see the UI design in js code .
Why must the React object be imported when authoring JSX in a module?
because JSX compiles into calls to React.createElement. that is why we need to import React library. (must be in scope).
createElement –> method of the React object.
How can you make Webpack and Babel work together to convert JSX into valid JavaScript?
have plug in ‘@babel/plugin-transform-react-jsx’