If the object already is reactive, it's returned as-is. If not, a new
reactive proxy is created. Direct child properties that are refs are properly
handled, as well.
Type Parameters
T extends object
Parameters
objectWithRefs: T
Either an already-reactive object or a simple object
that contains refs.
Returns a reactive proxy for the given object.
If the object already is reactive, it's returned as-is. If not, a new reactive proxy is created. Direct child properties that are refs are properly handled, as well.