Skip to content
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

함수형 프로그래밍에서 무한 렌더링이 일어나는 이유 #1

Open
ghojeong opened this issue Mar 16, 2022 · 0 comments
Open

Comments

@ghojeong
Copy link
Owner

ghojeong commented Mar 16, 2022

크롬에서 F12 를 누르고 콘솔창에 복붙해서 실행해보자.

const func1 = (func) => {
    console.log("Render 1")
    func()
}

const func2 = () => {
    console.log("Render 2")
    func1(func2)
}

func2()

Lambda Calculus

스크린샷 2022-03-15 오후 6 55 08

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

No branches or pull requests

1 participant