N
N
ninja op op2020-10-04 17:13:24
Vue.js
ninja op op, 2020-10-04 17:13:24

How does vue watch work?

hello, I’m still thinking on what principle does watch work in vue.js?

I have two assumptions:

1. vue creates an interval that every millisecond hammers and checks for a change
2. vue creates a new event and listens to it

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kitaev, 2020-10-04
@kur4chyt

Google observer pattern.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question