-
Notifications
You must be signed in to change notification settings - Fork 16
[3주차][White Lobo] 렌더링/this/실행컨텍스트 과정 #113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: Lobo2u
Are you sure you want to change the base?
Conversation
virtual Dom
JSX란?
closure란
Lobo(Closure란)
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
두괄식으로
클로저는 생성된 시점의 유효 범위 내에 있는 모든 지역변수로 구성된 함수와 함수가 선언된 어휘적 환경의 조합이다.
가 먼저 오면 좋을거 같아요 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
클로저는 생성시점의 유효범위 내에 있는 모든 지역변수로 구성되어야 하나요..?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
음.. java script MDN문서에 따르면
_ 클로저는 함수와 함수가 선언된 어휘적 환경의 조합이다. 이 환경은 클로저가 생성된 시점의 유효 범위 내에 있는 모든 지역 변수로 구성된다._라구 해서 이렇게 해석하게되었어요!
https://developer.mozilla.org/ko/docs/Web/JavaScript/Closures
클로저는 생성시점의 유효범위 내에 있는 모든 지역변수로 구성되어야 하나요..?
Lobo(JSX란)
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
react 17.0 이상에서는 _jsx로 트랜스파일도 가능하다고 합니다 😅
Lobo(JSX란)
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
6to5 는 바벨의 초창기 이름이네요 😄
babel을 사용하면 반드시 ES5 가 아니라, 다른 버젼으로 바꾸거나 특정 브라우저에 대응하게끔 바꾸거나 할 수 있기 때문에,
구형 브라우져에서도 돌아가게끔 최신 문법을 변환해주는 도구 같은 설명을 덧붙이면 어떨까요..?
Lobo(JSX란)
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
다음과 같은 것들이 사라졌어요 😭
VirtualDom의 정의
JSX의 정의
|
이번주 주제: |
Virtual dom #1
JSX #2
클로저 #5