Search⌘ K

Reactivity in Meteor

Discover how Meteor achieves reactivity through its internal Tracker package, reactive data sources like subscriptions and cursors, and reactive contexts such as useTracker. Learn to manage data synchronization between the client and server, enabling dynamic updates in your Meteor applications.

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 ...