February 2019
Intermediate to advanced
204 pages
4h 52m
English
This is the main file, app.js, which will be the main entry file for our project. We are going to put the file inside of app/app.js. You can see that we are using some of the npm packages, including @babel/polyfill, react, react-dom, react-redux, and sanitize.css:
// Needed for redux-saga es6 generator supportimport "@babel/polyfill";// Import all the third party stuffimport React from "react";import ReactDOM from "react-dom";import { Provider } from "react-redux";import history from "utils/history";import "sanitize.css/sanitize.css";// Import root appimport App from "containers/App";import configureStore from "./configureStore";// Create redux store with historyconst initialState = {};const store = configureStore(initialState, ...
Read now
Unlock full access