My First React App
In this tutorial you will learn how to use ForrestJS's modularity and build a truly composeable Single Page Application based on React.
The Starting Point
We will use a Create React App to scaffold the basics of our application, then we will customize it so to integrate the ForrestJS Hooks library.
In your favourite Terminal app run:
npx create-react-app my-first-react-app
cd my-first-react-app
npm start
👉 Or you can work this out online by forking this SandBox:
👉 https://codesandbox.io/s/create-react-app-c3hr2?file=/src/index.js
Install the Dependencies
In this toutorial we will use the following ForrestJS libraries:
npm add axios
npm add @forrestjs/core
npm add @forrestjs/react-root
npm add @forrestjs/react-mui
npm add @forrestjs/react-router
Step By Step
- Render a ForrestJS React App
- Add Material UI Component Library
- Refactor Your First Feature
- The Login Feature
- Customize Material UI
[[TO BE CONTINUED]]