jsx not working in react vscode 1

jsx not working in react vscode

go extension and install this "JS JSX Snippets"

Here is what the above code is Doing:
1. We’re importing the React library and the Component class from the react module.
2. We’re creating a new class called App and extending it from the React.Component class.
3. We’re creating a render method that returns a div element.
4. We’re exporting the App class so we can use it in other files.

Similar Posts