Skip to content

alexandreishida/yo-react-var

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

yo-react-var

A reactive variable. Based on Meteor reactivity implementation - https://github.com/meteor/meteor/wiki/Tracker-Manual

var number = new YoReactVar(1);

YoTracker.autorun(function() {
  console.log('the current number is ' + number.get());
});
// the current name is 1

number.set(2);
// the current name is 2

About

A reactive variable. Based on Meteor reactivity implementation - https://github.com/meteor/meteor/wiki/Tracker-Manual

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors