Reactivity in Meteor
Let’s learn about reactivity in MeteorJS.
We'll cover the following
Reactivity
Reactivity refers to something happening as a consequence of an action. Meteor achieves reactivity with the help of an internal package called Tracker
, which is used to create and handle the dependencies of a data source.
A data source is termed reactive when an action or a function depends on it—for example, when a client subscribes to a publication from the server. A cursor
is returned from the server that’s used by the client to query that data. This cursor is reactive because it monitors the data and waits for changes to carry out the necessary synchronization between the data at the client’s minimongo and the server’s MongoDB database.
Get hands-on with 1400+ tech skills courses.