component / reactive

Tiny reactive template engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

allow objects to advertise which props are computed

tj opened this issue · comments

vs the manual syntax

I think this refers to the computed properties syntax:

<div data-text="name < firstname lastname" />

It would be cool if there was another way to tell reactive to update name whenever firstname or lastname change. Maybe like a .computed('name', 'firstname', 'lastname')?

This would be the job of the model, more than reactive. Reactive just cares about the change events.

Computed properties are going away in 1.0

It is the job of the model layer.
On Feb 19, 2014 6:48 PM, "Anthony Short" notifications@github.com wrote:

This would be the job of the model, more than reactive. Reactive just
cares about the change events.

Reply to this email directly or view it on GitHubhttps://github.com//issues/37#issuecomment-35566199
.