Skip to content

Instantly share code, notes, and snippets.

@nsantos16
Created May 15, 2020 17:52
React query API demo
// An individual movie
useQuery(['movies', 5], ...);
// A list of movies that are "released"
useQuery(['movies', { type: 'released' }], ...);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment