Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support react dev-tool? #26

Closed
bichikim opened this issue Feb 3, 2021 · 2 comments
Closed

Support react dev-tool? #26

bichikim opened this issue Feb 3, 2021 · 2 comments

Comments

@bichikim
Copy link

bichikim commented Feb 3, 2021

image

@sibbng
Copy link
Collaborator

sibbng commented Feb 3, 2021

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
Copy link
Author

bichikim commented Feb 6, 2021

Sorry The above snapshot is wrong
Showing states in the devtool looks good to use
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants