radonjs/Radon

Get State

Closed this issue · 0 comments

getState()

The getState method should return the variables and modifiers available to a component which will include parent data.

notifySubs()

The notifySubs() method should inform the subscribers that the data it is watching has been changed. All the subscribers are the render functions of the components that are subscribing to data. Whenever the data changes, (whenever a modifier is called) notifySubs() is called, and the components are all rerendered.