We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6eb7fd8 commit 31b99a9Copy full SHA for 31b99a9
packages/runtime-core/src/component.ts
@@ -258,6 +258,11 @@ export interface ComponentInternalInstance {
258
* @internal
259
*/
260
setupState: Data
261
+ /**
262
+ * devtools access to additional info
263
+ * @internal
264
+ */
265
+ devtoolsRawSetupState?: any
266
/**
267
268
@@ -549,6 +554,9 @@ export function handleSetupResult(
549
554
}
550
555
// setup returned bindings.
551
556
// assuming a render function compiled from template is present.
557
+ if (__DEV__ || __FEATURE_PROD_DEVTOOLS__) {
558
+ instance.devtoolsRawSetupState = setupResult
559
+ }
552
560
instance.setupState = proxyRefs(setupResult)
553
561
if (__DEV__) {
562
exposeSetupStateOnRenderContext(instance)
0 commit comments