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 | 31 |
Tags
- evm
- CSS
- middleware
- typeScript
- tailwindcss
- HTML
- CLASS
- blockchain
- solidity
- Redux
- graphQL
- bitcoin
- JavaScript
- built in object
- REACT
- Interface
- SSR
- web
- 기준
- 삶
- API
- express.js
- nextJS
- Ethereum
- concept
- hardhat
- useState
- Props
- node.js
- error
Archives
- Today
- Total
목록function 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