Photo by Alexandru Acea on Unsplash

What’s new with the new version of React ?


Photo by Campaign Creators on Unsplash

Install React Router

npm install react-router-dom

React Router Setup


Photo by Christina @ wocintechchat.com on Unsplash

Every Route Change Mounts and Unmounts a Component

The Wrong State Syntax

Do not use hooks for class components


Photo by Alex Chumak on Unsplash

How to Create a .env File

How to Access the Environment Variables


Photo by Marvin Meyer on Unsplash

Git is version management software. It is free software created by Linus Torvalds, it is the most popular version control software in the world.

Configure Git

git config --global user.name "your_username"wgit config --global user.email "your_email_address@example.com"git config --global --list

Pull and push

Clone a repository

Convert a local directory into a repository

remote repository

View your remote repositories

git remote -v

Create a branch

git checkout -b <name-of-branch>

Switch to the master branch

git checkout master

Work on an existing branch

View the changes you’ve made

Add and commit local changes


💪 TS = JS + additional functions


ahmedSoua

DevAhmedCoder

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store