tlent / sick-fits Goto Github PK
View Code? Open in Web Editor NEWMy work for the Advanced React and GraphQL course by Wes Bos
Home Page: https://advancedreact.com/
My work for the Advanced React and GraphQL course by Wes Bos
Home Page: https://advancedreact.com/
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.
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.
Wes did not show how to add the ability to edit the image an item is using. Left as an exercise for the viewer.
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.
Until the debounce of input is finished the search does not happen and until the search happens the UI shows no result found.
Currently the account link in the nav bar leads to nothing.
Add more information about what the course taught and how to run the project.
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.