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
- MacOS
- Class
- computer
- MIPS
- DS
- control
- javascript
- DB
- data structure
- python
- function
- react
- Java
- web
- instruction
- architecture
- php
- for
- Pipelining
- mysql
- DoM
- html
- while
- XML
- Linux
- DATAPATH
- Algorithm
- system
- CSS
- github
Archives
- Today
- Total
목록Have (1)
YYYEJI
[React] JSX expressions must have one parent element 에러
아래와 같은 코드를 작성했다가 JSX expressions must have one parent element 에러를 받았습니다. function Loading() { return 분석중입니다...; } 이 에러는 JSX 문법을 사용할 때 여러개의 컴포넌트가 사용될 때 parent element로 컴포넌트를 감싸지 않아서 등장하는 에러기에 function Loading() { return ( 분석중입니다... ); } tag를 tag 안으로 넣어줬더니 해결됐습니다. ◡̈
Web Application Server (WAS)
2023. 1. 10. 16:06