Git Product home page Git Product logo

simple-gq's People

Contributors

andrewmuntyan avatar

Watchers

 avatar

simple-gq's Issues

Remove category read from cache issue

error

index.js:1375 Invariant Violation: Can't find field words({"first":3,"orderBy":"createdAt_DESC","skip":0,"where":{"category":{"name":"2"}}}) on object {
  "categories": [
    {
      "type": "id",
      "generated": false,
      "id": "Category:ck12jc64dik2h0b17km1zw2k6",
      "typename": "Category"
    }
  ],
  "words({\"first\":3,\"orderBy\":\"createdAt_DESC\",\"skip\":0,\"where\":{\"category\":{\"name\":\"\"},\"content_contains\":\"\"}})": []
}.
    at new InvariantError (http://localhost:3000/static/js/0.chunk.js:82578:24)
    at http://localhost:3000/static/js/0.chunk.js:21385:36
    at Array.forEach (<anonymous>)
    at StoreReader.diffQueryAgainstStore (http://localhost:3000/static/js/0.chunk.js:21383:26)
    at StoreReader.readQueryFromStore (http://localhost:3000/static/js/0.chunk.js:21345:17)
    at InMemoryCache.read (http://localhost:3000/static/js/0.chunk.js:22197:29)
    at InMemoryCache.ApolloCache.readQuery (http://localhost:3000/static/js/0.chunk.js:22474:17)
    at update (http://localhost:3000/static/js/main.chunk.js:1172:41)
    at http://localhost:3000/static/js/0.chunk.js:24981:20
    at tryFunctionOrLogError (http://localhost:3000/static/js/0.chunk.js:26923:12)
    at http://localhost:3000/static/js/0.chunk.js:24980:89
    at InMemoryCache.performTransaction (http://localhost:3000/static/js/0.chunk.js:22295:7)
    at DataStore.markMutationResult (http://localhost:3000/static/js/0.chunk.js:24973:18)
    at Object.next (http://localhost:3000/static/js/0.chunk.js:23865:36)
    at notifySubscription (http://localhost:3000/static/js/0.chunk.js:84562:18)
    at onNotify (http://localhost:3000/static/js/0.chunk.js:84606:3)
    at SubscriptionObserver.next (http://localhost:3000/static/js/0.chunk.js:84658:7)
    at http://localhost:3000/static/js/0.chunk.js:23661:34
    at Set.forEach (<anonymous>)
    at Object.next (http://localhost:3000/static/js/0.chunk.js:23660:19)
    at notifySubscription (http://localhost:3000/static/js/0.chunk.js:84562:18)
    at onNotify (http://localhost:3000/static/js/0.chunk.js:84606:3)
    at SubscriptionObserver.next (http://localhost:3000/static/js/0.chunk.js:84658:7)
    at http://localhost:3000/static/js/0.chunk.js:25582:18```

Load More button behavior

Max count is 3
Filter words list to see 3 words and load more btn
delete one word

current behavior: you see two words and load more btn
desired: one more words fetched and you see three words

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.