Publication with Cursors
Understand the concept of cursors and reactive data sources.
Data publication in MeteorJS involves making a subset of data available to the client, as we saw two lessons prior. This process uses DDP.
Cursor
Cursors are reactive data sources. A data source is termed reactive when an action or a function depends on it. The useTracker
function watches documents in a cursor for change and automatically reruns if they’re changed.
On the client, retrieving a cursor’s ...