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

Export useDevtoolsContext? #382

Closed
NoahWilson4 opened this issue Aug 8, 2019 · 2 comments · Fixed by #384
Closed

Export useDevtoolsContext? #382

NoahWilson4 opened this issue Aug 8, 2019 · 2 comments · Fixed by #384
Assignees
Labels
good first issue 🤩 Good for newcomers

Comments

@NoahWilson4
Copy link

I'm writing a custom useMutation and would like to include the dev tools. Can you export useDevtoolsContext so that I can use it directly?

@JoviDeCroock JoviDeCroock added the good first issue 🤩 Good for newcomers label Aug 9, 2019
@Jay-A-McBee Jay-A-McBee self-assigned this Aug 10, 2019
@Jay-A-McBee
Copy link
Contributor

👋 hey everybody - seemed like low hanging fruit that would give me a chance to get my feet wet

@kitten
Copy link
Member

kitten commented Aug 13, 2019

Quick update on this regarding #388 and #387. We're looking to actually remove this hook and other metadata utilities and code from the codebase.

We can achieve the same functionality by baking it into the devtools and hence remove all metadata concerns from urql.

This ensures that our codebase remains manageable and keeps the devtools as the only owner of this kind of data. So we're looking to bake all metadata into the devtools exchange :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue 🤩 Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants