how to use import in js from react code example
Example 1: import react
import React, { Component } from 'react';
Example 2: import library react js
// ---- REACT JS -----
// using
<link rel="shortcut icon" href="%PUBLIC_URL%/js/bootstrap.min.js"> </link>
<script src="%PUBLIC_URL%/js/bootstrap.min.js"> </script>
// public
// --- js
// ------ bootstrap.min.js
// --- css
// ------ bootstrap.min.css