jjordy / swr-devtools Goto Github PK
View Code? Open in Web Editor NEWDevtools for SWR
License: MIT License
Devtools for SWR
License: MIT License
Cache changes seem to remove subscribe will have to figure out another way to get the state of the cache in a sane way.
Hi jjordy, I'm Kento Watanabe( @k3nt0w )
I couldn't find any Email contact information, so I contacted you via Issue.
I usually use SWR for my development, but I felt it was difficult to manage states in SWR. I looked for an easy-to-use development tool, and found this library. This library is very easy to use and I feel it should be used more often!
However, this package does not seem to be maintained, so I am planning to fork it and develop it myself for various updates. I've checked the MIT license, but is it okay to fork and develop it and publish it? I have already published it from my repository, but I will remove it if there is a problem.
Cleanup keys and make sure long url's still look good and are easy to read.
Contents for Screenshot and Live demo sections from table of contents are missing
fix default styling and color of revalidate button.
TS2322: Type '{ children: Element; cache: Cache; mutate: mutateInterface; }' is not assignable to type 'IntrinsicAttributes & SWRDevtoolsProps'. Property 'children' does not exist on type 'IntrinsicAttributes & SWRDevtoolsProps'.
"@jjordy/swr-devtools": "^0.2.26"
"typescript": "^3.8.3",
What evidence do you need, I will provide you,thanks for the plugin
Make the keys window draggable
Getting this issue with SWR v1+, and node version v14.17.0
Failed to compile.
./node_modules/@jjordy/swr-devtools/esm/SWRDevtools/Cache.js 2:9
Module parse failed: Unexpected token (2:9)
File was processed with these loaders:
* ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| export default class DevToolsCache {
> __cache;
| __listeners;
|
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.