Support react dev-tool?
bichikim opened this issue · 2 comments
bichikim commented
sibbng commented
Seems working for me. What is your expectation?
I have noticed few thing can be improved.
- defineComponent/createSetup returns Anonymous component/hook. Can be fixed by an argument or babel plugin or at the user land by manually setting displayName.
- Setup hook that displayed in hooks pane doesn't have a debug value. That can be provided with useDebugValue.
- Reactivue internals such as tick and instance ids can be labeled with useDebugValue for further readibility.
Not sure but maybe we can:
- List watchers/lifecycle hooks (onMounted, watch, computed) here.
- Disable/Enable that watchers/lifecycle hooks through a boolean.
bichikim commented