Coder Social home page Coder Social logo

swr-devtools's People

Contributors

dependabot[bot] avatar jjordy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

k3nt0w

swr-devtools's Issues

Upgrade to swr 1.0

Cache changes seem to remove subscribe will have to figure out another way to get the state of the cache in a sane way.

Can I fork this repository and take over the development?

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.

Failed to compile cache with SWR v^1

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;
|

There seems to be a problem with the version ^0.2.26 and typescript

image

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.