Skip to content

computed-props-1.0

Latest
Compare
Choose a tag to compare
@jclasley jclasley released this 11 Dec 17:40
· 11 commits to master since this release

Use computed properties in "plain-ish" JS objects.
Requires no invocation of functions and object shape is predictably normal

  • Instead of seeing the function in the object, you will see only the computed value

Supports addition, change, and removal of dependent properties.

Does not yet support advanced object manipulation

  • NOT SUPPORTED: computedObj = {...computedObj, prop: val}