I'm currently learning React , The first line of react component is a import statement like below.
import React, { Component } from 'react';
It work fine. But if I move React
into the {}
like this:
import { React, Component } from 'react';
It does not work.
What is happening here ???