Comments (2)
@shuding
Thank you for your feedback, it is useful and I love the featureπ π π
Currently, SWRDevTool inspects a setter of Cache, which means it's hard to build the timeline, so we would need more inspecting points in our middleware implementation.
from swr-devtools.
Yeah, I think it's fine to add setter on top of the default cache. I'm also thinking about adding more options to SWR's core (e.g. onDiscarded
, as a supplement to onSuccess
, onError
, onLoadingSlow
and onErrorRetry
, so the devtool can know when is a request result discarded because of race conditions).
from swr-devtools.
Related Issues (20)
- Performance Issue with large data HOT 2
- Theme Switcher dosn't work
- Add a test to guarantee web-accessible.js doesn't not include React
- After a short period of time, Cache and History tabs stop updating HOT 2
- How to disable SWR-devtools on Production HOT 3
- swr-devtools.vercel.app has been blocked HOT 1
- Doesn't work on brave browser without SWRDevTools component HOT 3
- Pretty Printed Key? HOT 1
- Support `useSWRSubscription`
- Uncaught Error: Extension context invalidated HOT 5
- SWRDevTools tab doesn't render anything HOT 1
- Extension causing pages to error. HOT 8
- doesn't work in nextjs13 project with chrome HOT 9
- I can't find the swr panel.
- SWR not detected?
- Empty extension HOT 27
- Support SSR HOT 3
- Avoid throwing an Error when passing non-serializable values
- Feat: Add manual dark mode support HOT 1
- swr-devtools not working on edge.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swr-devtools.