deep-computed
Iterates over plain objects and arrays and transforms functions to computed properties
Use
If an object or array has a function as a value, it will be wrapped by Object.defineProperty
and its getter will pass the root object to it as an argument to resolve the value of the function.
For example,
; ; ; ; console.lognext.deep.ly.nested.coolAndDude;// => 579
Install
yarn install deep-computed