We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f15ba2c commit 0ae7316Copy full SHA for 0ae7316
packages/reactivity/src/ref.ts
@@ -250,11 +250,9 @@ const shallowUnwrapHandlers: ProxyHandler<any> = {
250
}
251
252
/**
253
- * Returns a reactive proxy for the given object.
254
- *
255
- * If the object already is reactive, it's returned as-is. If not, a new
256
- * reactive proxy is created. Direct child properties that are refs are properly
257
- * handled, as well.
+ * Returns a proxy for the given object that shallowly unwraps properties that
+ * are refs. If the object already is reactive, it's returned as-is. If not, a
+ * new reactive proxy is created.
258
*
259
* @param objectWithRefs - Either an already-reactive object or a simple object
260
* that contains refs.
0 commit comments