Notice
Recent Posts
Recent Comments
Link
목록2022/10/26 (1)
Silver Library (Archived)
Parse Error: Adjacent JSX elements must be wrapped in an enclosing tag
발생 원인. App.js 에서는 와 같이, wrapping 자체가 문제가 없었으나, 다른 파일에서 wrapping 이 안 된 경우. 그러니까 App.js 내에 imported 된 다른 파일 내에서 wrapping 이 안된 경우 발생. 해결 방법. 침착하고, 다른 파일들 중 에러 표시가 뜨는 곳이 있는지 찾아 보기. 그 후, 해당 문제의 파일에서 한 토막 외부에 있는 것도 큰 틀로서 wrapping 처리. 딱히 처리해도 문제 없음. https://stackoverflow.com/questions/31284169/parse-error-adjacent-jsx-elements-must-be-wrapped-in-an-enclosing-tag
Face the fear, build the future/Library of Logging
2022. 10. 26. 19:45