Notice
Recent Posts
Recent Comments
Link
250x250
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- function
- web
- Linux
- MIPS
- DB
- CSS
- Class
- data structure
- php
- Java
- github
- control
- system
- Algorithm
- DATAPATH
- javascript
- html
- react
- Rag
- architecture
- instruction
- for
- python
- DS
- XML
- Pipelining
- AI
- openai
- computer
- mysql
Archives
- Today
- Total
목록Normal function (1)
YYYEJI
리액트(React)에서 함수를 만드는 방법은 두 가지가 있습니다. 화살표 함수(Arrow function) const FunctionName = () => (Action); const Title = () => ( console.log("mouse enter")}> Hello world ); 함수의 타입(type), 함수의 이름, = () => 그리고 함수의 액션(action) 파트로 나뉩니다. 함수의 액션 파트에는 HTML의 유효한 tag를 사용할 수 있습니다. 기본 함수(Normal function) function Button() { return ( console.log("im clicked")}> Click me! ); } function, 함수의 이름, () {Action_part}로 이루어 집니..
Web Application Server (WAS)
2023. 1. 6. 14:37