Just make use.data/use.lazyData identical to use.stateGetterSetter/use.lazyStateGetterSetter
Returns ValueWrapper, which is a typedef/extension on a getter + setter combo that conveniently provides a .value getter + setter
Allow setters (and thus rebuilds + transactions) to be called during builds, but only of the same capsule.
Will involve modifying the current assert so that it only triggers when a rebuild of a different capsule is called during a rebuild sweep
Modify docs of all applicable side effects to point to recommending use.data/use.lazyData over the current suite of state/value/etc., and note how they are included + not deprecated for those familiar with hooks and wanting to get up to speed quickly with ReArch.
Thanks for a nudge in the right direction @busslina!
See #126; likely just:
use.data
/use.lazyData
identical touse.stateGetterSetter
/use.lazyStateGetterSetter
ValueWrapper
, which is a typedef/extension on a getter + setter combo that conveniently provides a.value
getter + setteruse.data
/use.lazyData
over the current suite of state/value/etc., and note how they are included + not deprecated for those familiar with hooks and wanting to get up to speed quickly with ReArch.Thanks for a nudge in the right direction @busslina!