-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Marcus Hitchins edited this page Mar 31, 2018
·
10 revisions
Thoughts: get
- check gundb
- Fire API calls for all missing data
- Put all returned data into gundb
- return relevant data
set
- check gundb if diff
- set gundb
- add to postList
- onIdle(5000,1000).then(APIsync(postList))
setter('marcus',{ name: "Marcus", email: "[email protected]", }) var russell = {name: "Russell", is: "Full stack butterfly"} var marcus = {boss: russell} russell.slave = marcus
setter('marcus.is',"making a cache") // partial updates merge with existing data! setter('marcus', marcus)
getter("marcus.boss") getter("marcus.boss.slave.boss.is") getter("marcus.boss.slave.is")