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