Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Components
- /Header
- /Main
- /MainContent
- /Card
- /CardContent
- /CardDetail
- /CardRelated
- /Login
- /Footer
- /Directional
- card-data.json
- main-data.json
- Đưa dữ liệu từ form sang state dưới dạng array
- Các props màu tím
-
Trạng thái stats có trong folder (Main)
- Thay đổi state với onClick=''
- <file_name>.jsx
-
/public/index.html
-
<link href="%PUBLIC_URL%/<file...>" />
-
- defaultValue={this.props.children}
- ref={callBack}
- Sử dụng map() để duyệt dữ liệu
- props.
-
match>param>
- /:slug.:id
-
Router Redirect
- event.preventDefault()
- import in Router-dom
-
Lấy dữ liệu từ Form lưu trữ dưới dạng Array
-
ReactJS (Handing Mutiple Inputs)
- this.setState({ [name] : value })
-
- Đặt giá trị mặc định bên trong state
- Lấy thông tin từ mục input file
- react
- react-dom
- react-router-dom
- react-scripts
- node-sass
- vietnamese-slug
- eslint-plugin-react
-
Expected to return a value at the end of arrow function array-callback-return
- if() {} return true;