Answers for "why we use import in reactjs"

0

import in react

import Footer from '../../components/Footer/Footer';
Posted by: Guest on September-06-2021
-1

why we import react from react

Q. Why we import React from 'react'?
  
Ans: When you are trying to use jsx in your javascript file your normal compiler as well as 
even babel could not understand it. Although normal compiler never understand it. But anyhow 
you want to say your compiler I am providing you a jsx in the file.
Posted by: Guest on July-09-2021

Browse Popular Code Answers by Language