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

Debug ability #59

Open
olavoparno opened this issue Dec 18, 2019 · 1 comment
Open

Debug ability #59

olavoparno opened this issue Dec 18, 2019 · 1 comment

Comments

@olavoparno
Copy link

Hello, mister @jamiebuilds

First of all, thank you very much for your incredible coding.
Is there any work going on for debugging containers with this hooks paradigm?

Thank you again!

@olavoparno
Copy link
Author

Hello again, I kinda of rewrote (thanks to fabiospampinato) part of overstateds debug logic so that I can enjoy it alongside with unstated-next. If anyone's into it too, check my link https://codesandbox.io/s/unstated-store-provider-k4h77

usage is as simple as calling useLog(containerName: string, state: Object) by the end of your container, just before returning it.

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

1 participant