Skip to Content
한 권으로 끝내는 Node & Express(2판): 모던 웹을 위한 서버 사이드 자바스크립트의 모든 것
book

한 권으로 끝내는 Node & Express(2판): 모던 웹을 위한 서버 사이드 자바스크립트의 모든 것

by 한선용, 이선 브라운
May 2021
Beginner to intermediate
448 pages
9h 47m
Korean
Hanbit Media, Inc.
Content preview from 한 권으로 끝내는 Node & Express(2판): 모던 웹을 위한 서버 사이드 자바스크립트의 모든 것
442
한 권으로 끝내는 Node & Express
H.2
리액트 기본
서브라임 텍스트
Sublime
Text
를 사용하는 경우, 기본 상태에서는 구문 강조 기능이 리액트 문법
을 인식하지 못해 이상하게 표시될 수 있습니다.
Babel
패키지를 설치하고 화면 오른쪽 하단
JavaScript
Babel
=>
JavaScript
(
Babel
)’로 변경해 구문 강조 기능을 이용할 수 있습
니다.
H.2.1
휴가 패키지 페이지와 서버 통합
본문에서는 필요하지 않은 것을 제거할 수 있다고 설명했는데,
18
장에서 다시 익스프레스를
사용하므로 완전히 익숙해지기 전에는 제거하지 않길 권합니다. 현재 상태를 그대로 남겨두어
도 리액트 관련 내용을 테스트할 때는 문제가 없습니다.
본문대로 따라 하다 보면 잘 되지 않을 수 있습니다. 역자가 겪은 문제는 리액트의 캐시 때문에
프록시 설정이 반영되지 않아서, 익스프레스가 동작하는
:
3033
이 아니라 리액트가 동작하는
:
3000
에 요청을 보내고, 따라서 올바른
JSON
응답을 받지 못하는 문제였습니다. 브라우저 콘
솔에는 다음과 같이 기록됩니다.
Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0
콘솔에 이 오류가 보인다면
Vacations
함수의 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

한 권으로 끝내는 Node & Express: 웹사이트 구축을 위한 서버 사이드 자바스크립트

한 권으로 끝내는 Node & Express: 웹사이트 구축을 위한 서버 사이드 자바스크립트

한성용, 이선 브라운

Publisher Resources

ISBN: 9791162244227