Skip to content

senilshah/react-query-example

 
 

Repository files navigation

React-query example project

This is an example project, a TODO list that shows how to use react-query step by step. Check the Pull request to see the steps followed each time. It starts by using just useReducer and useEffect along with axios to finally enable optimistic updates with react-query.

Serverles

This a serverless next app that use Airtable to save the data. You can see the serverless function inside the pages/api/todos folder.

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

  1. Clone this repo
  2. cdinto the folder
  3. run yarn dev

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.8%
  • Shell 0.2%