Coder Social home page Coder Social logo

sick-fits's People

Contributors

tlent avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

user1990

sick-fits's Issues

Fix possible test race conditon when simulating events and then using waait

For example in RequestReset.test.js the test "calls the mutation" sometimes fails. I believe this is because the wrapper update happens before the event is done being simulated. See airbnb/enzyme issues/823. I believe waait is equivalent to the setImmediate solution discussed there and airbnb/enzyme issues/823#issuecomment-433107650 is the only reliable solution.

Fix cache invalidation issue

At the end of video 23 Wes says that there is currently no good solution for invalidating the cached values for the partial queries of each page of items. After adding a new item or deleting an item the cached values for the pages of items would be invalid. Either implement the solution from the updated video he says he will make when a good solution is added to Apollo or implement one of the bad solutions he said was possible but had issues.

Investigate use of e.g. cartItems query over cartItem, users over user

For example in video 40 Wes uses the cartItems query over the cartItem query because we want to find the cartItem that has a connection to a specified user and to a specified item which GraphQL does not see as a unique input. This should be considered a unique input because we would never want more than one cartItem for the same user and the same item. Is there a way to encode this into GraphQL's schema and then use cartItem?

I believe we ran into this same issue at other points in the course. (possibly users query over user) Those cases should also be looked into.

Improve the readme

Add more information about what the course taught and how to run the project.

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.