What we'll build :
We will be building this (opens in a new tab) news app using pre-reactJS.
Source code can be found here : Github (opens in a new tab)
Installation
To get started install pre-reactJS via npm and create your new project:
npm install pre-reactjs
npx create-pre-react-app newsAppThis will generate a directory named newsApp containing all the starter code for your project. Next, navigate into the directory and install the dependencies:
cd newsApp
npm installDevelopment
To start the development server with hot-reloading, run:
npm run devThis will launch your application using nodemon, which automatically restarts the server when changes are detected.