-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Devtools #291
Comments
Would be great to work on this once we have #172. Callback APIs can be added so a plugin can execute code in:
Therefore, we can create devtools/loggers/etc. on top of SWR. |
I'm in the exact same place. SWR's API > react-query's API, but I saw react-query-devtools and was really close to being swayed. |
FYI here's what I found. https://github.com/jjordy/swr-devtools |
Since this thread was created @shuding & others have introduced a middleware layer to SWR: It looks like @koba04 is currently experimenting with some DevTools: https://github.com/koba04/swr-devtools You can get the Chrome Extension here: https://chrome.google.com/webstore/detail/swr-devtools/liidbicegefhheghhjbomajjaehnjned Thanks for all your work on this @shuding and @koba04 ! Very excited! |
Hi. code: https://github.com/rendinjast/swr-devtools |
@rendinjast Very pretty! 👏 How does it compare to the features @koba04's tool offers? Also, could you make it available as a Chrome Extension? |
@corysimmons thank you. Honesty, when I decided to develop it, I didn't know there's a DevTools for SWR. Correct me if I'm wrong. I think @koba04's tool is based on handling the cache, but what I did is using Callback APIs in middleware, and it's a lot easier to add feature. Yes I can, but currently my plan is adding more features. Maybe in the future. Edit: v0.0.4 added feature: history list & Options Explorer |
We've had SWRDevTools now 🚀 |
Hello! React-query just released their devtools extension https://github.com/tannerlinsley/react-query-devtools. Do you have such plans in near future? I'm trying to decide which library to use and I almost desided to use swr, but then I saw react-query devtools. I will be grateful for the answer 😊
The text was updated successfully, but these errors were encountered: