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

context API #37

Open
dongree opened this issue Jun 8, 2023 · 0 comments
Open

context API #37

dongree opened this issue Jun 8, 2023 · 0 comments

Comments

@dongree
Copy link
Collaborator

dongree commented Jun 8, 2023

image

image

js 파일에서 울타리 api를 관리하려 했음.
울타리 api에는 context에 있는 값이 필요하지만 js파일에서는 context를 호출하지 못함
그래서 함수의 인자로서 context값을 받아오려 했는데, 받아와도 그 인자를 받아온 시점의 값으로 고정됨.
이후에 context를 통해 context값이 변경이 돼도 이미 인자로 전달된 값은 변경되지 않음.

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