shutdowndapp / react-redux-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react v17.0.1

install

npm install -g create-react-app
create-react-app upgrade
[Create a New React App](https://reactjs.org/docs/create-a-new-react-app.html)

or use npx

tachyons style

perfect basic style and layout

npm install tachyons

tree structure

all the node follow tree structure
at the top of data is `state`
`props` transfer data

`setState` => update and edit data

random image service

[robohash](https://robohash.org)

component lifecycle

[lifecycle](https://reactjs.org/docs/react-component.html)
automatically trigger
Mounting -> Updating -> Unmounting

notice: In the part of `Updating` contains render()

props.children

parent node can use `props.children` get child node

About


Languages

Language:JavaScript 70.1%Language:HTML 23.0%Language:CSS 7.0%