Allows to make hyper-value from property of another hyper-value (of object-like value).
This new property hyper-value will be up-to-date with the actual property and also writes to it
when it's changed.
It works similar to auto(hs, () => hv.propertyName) but also allows to write to source object.
When writing is not needed consider using auto instead of prop
Type parameters
T: any
owner object type, it must be Object-like type (e.g. not string or number)
Allows to make hyper-value from property of another hyper-value (of object-like value). This new property hyper-value will be up-to-date with the actual property and also writes to it when it's changed. It works similar to
auto(hs, () => hv.propertyName)
but also allows to write to source object. When writing is not needed consider usingauto
instead ofprop