Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: devel

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
.gitignore
README.md
migration.js
package.js
reactive-dict.js

README.md

reactive-dict

This package provide ReactiveDict, a general-purpose reactive datatype for use with tracker. It provides all of the functionality of the Session object documented in the main Meteor docs, such as reactive get, set, and equals functions.

If you provide a name to its constructor, its contents will be saved across Hot Code Push client code updates.

Example usage:

var dict = new ReactiveDict('myDict');
dict.set("weather", "cloudy");
Tracker.autorun(function () { console.log("now " + dict.get("weather")); });
// now cloudy
dict.set("weather", "sunny");
// now sunny

For more information, see the Tracker project page.

Future work

Unify with reactive-var.

Something went wrong with that request. Please try again.