강의

멘토링

커뮤니티

Inflearn Community Q&A

helimdung6238's profile image
helimdung6238

asked

Learn Vue.js 3 with Projects

Creating a 52 To-Do Page Component 4

52강의 originalTpdp ref 와 todo ref

Written on

·

541

0

res.data는 객체이기 때문에

todo.value = res.data

origivalTodo.value = res.data

다른 메모리 주소에 할당되는 것이 아닌가요?

vuejs웹앱vuex

Answer 1

0

kossiecoder님의 프로필 이미지
kossiecoder
Instructor

객체를 두개의 변수에 할당을 하면 두 변수 모두 같은 주소를 바라보게 됩니다.

helimdung6238's profile image
helimdung6238

asked

Ask a question