250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- error
- useState
- web
- bitcoin
- blockchain
- solidity
- CSS
- API
- HTML
- evm
- 기준
- hardhat
- JavaScript
- typeScript
- 삶
- Props
- Interface
- built in object
- REACT
- Ethereum
- CLASS
- graphQL
- middleware
- tailwindcss
- node.js
- SSR
- express.js
- concept
- Redux
- nextJS
Archives
- Today
- Total
목록class component (1)
ReasonJun
React : Function and Class Components / Rendering a Component / Composing Components / Extracting Components / Props are Read-Only
Function and Class Components The simplest way to define component is to write a JS function : function Welcome(props) { return Hello, {props.name}; } This function is a valid React component because it accepts a single “props” (which stands for properties) object argument with data and returns a React element. We call such components “function components” because they are literally JS function...
Frontend/React
2023. 6. 11. 15:41