“Почему мы импортируем реагировать из React” Ответ

Почему мы импортируем реагировать из React

It's just a tool to make it easier for you to use it! If you are
interested in using React without JSX you can check out the docs. ... 
createElement calls, you can see where React is used. If you forget to 
import React, it will be undefined and the createElement call will fail.
Helpful Hummingbird

Почему мы импортируем реагировать из 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.

Handsome Abhishek

Ответы похожие на “Почему мы импортируем реагировать из React”

Вопросы похожие на “Почему мы импортируем реагировать из React”

Больше похожих ответов на “Почему мы импортируем реагировать из React” по JavaScript

Смотреть популярные ответы по языку

Смотреть другие языки программирования