Please enable JavaScript.
Coggle requires JavaScript to display documents.
React - Coggle Diagram
React
Pourquoi ?
Ultrarapide
Virtual DOM
DOM ?
Virtual DOM vs Real DOM ?
Grande communité
beaucoup de ressources
Facile
Netflix, Yahoo, Airbnb
code réutilisable
performance
one way data binding
Files and Folders ?
Node-modules
Public
index.html
manifest.json
name
icons
robots.txt
Src
App.js
App.css
index.js
index.css
Package.json
dependencies
devdependencies
semantic versionning
Patch releases
Minor realeses
Major releases
.gitignore
Quoi ?
Bibliothéque js
Library vs Framework ?
SPA
reusable UI component
stateless functional component
Hooks
UseState
UseEffect
No dependency passed
An empty array
Props or state values
UseRef
UseMemo
UseCallback
useContext
useReducer
statefull class component
Props
State
Life Cycle
Mounting
ComponentDidMount
Updating
ComponentDidUpdate
ShouldComponentUpdate
Unmounting
ComponentWillUnmount
Prérequis
Js
JS vs ES6
map() vs filter () vs foreach()
let vs const vs var
functions
arrow function
classique function
destructuring
Scope
global
local
code case
camel case
myVariable
slash case
mu/variable
snake case
my_variable
pascal case
MyVariable
cobra case
My_Variable
kebeb case
my-variable
HTML
CSS
Routing
Routing public
Routing privé
run
npm
yarn
state managment
Redux
Zustand
Qui ?
Facebook
Quand ?
2013
React vs Angular vs Vue ?
jsx
build project
API
CDN, CLI