Skip to content

Conversation

@Lobo2u
Copy link

@Lobo2u Lobo2u commented Oct 26, 2021

Virtual dom #1
JSX #2
클로저 #5

Lobo(Closure란) Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

두괄식으로

클로저는 생성된 시점의 유효 범위 내에 있는 모든 지역변수로 구성된 함수와 함수가 선언된 어휘적 환경의 조합이다.

가 먼저 오면 좋을거 같아요 👍

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

클로저는 생성시점의 유효범위 내에 있는 모든 지역변수로 구성되어야 하나요..?

Copy link
Author

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
Copy link
Contributor

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
Comment on lines 9 to 10
Copy link
Contributor

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

다음과 같은 것들이 사라졌어요 😭

@bigsaigon333 bigsaigon333 changed the base branch from main to Lobo2u October 26, 2021 14:55
@bigsaigon333 bigsaigon333 changed the title 10월 26일! 첫 스터디 [1주차][White Lobo] Virtual dom / JSX / 클로저 Oct 31, 2021
@Lobo2u Lobo2u changed the title [1주차][White Lobo] Virtual dom / JSX / 클로저 [3주차][White Lobo] this/실행컨텍스트/렌더링 Nov 9, 2021
@Lobo2u Lobo2u changed the title [3주차][White Lobo] this/실행컨텍스트/렌더링 [1주차][White Lobo] virtual dom/jsx/클로저 Nov 9, 2021
@Lobo2u Lobo2u changed the title [1주차][White Lobo] virtual dom/jsx/클로저 [1주차][White Lobo] Virtual dom / JSX / 클로저 Nov 9, 2021
@Lobo2u
Copy link
Author

Lobo2u commented Nov 9, 2021

이번주 주제:
1.서버사이드 렌더링과 클라이언트 사이드 렌더링의 차이점
2.자바스크립트의 실행컨텍스트 과정
3.자바스크립트에서 this란?

@Lobo2u Lobo2u changed the title [1주차][White Lobo] Virtual dom / JSX / 클로저 [3주차][White Lobo] 렌더링/this/실행컨텍스트 과정 Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants