KevinVandy / react-query-demos

2 identical apps. 1 written with React Query and the other using traditional useEffects for fetching

Home Page:https://react-query-demos-with-query.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Query Demos

A demo of an app NOT using React Query

https://react-query-demos-with-useeffect.vercel.app/

A demo of the same app, but WITH React Query

https://react-query-demos-with-query.vercel.app/

Run both projects at the same time Locally

Install Deps

pnpm i

Run Locally

pnpm dev

The useEffect demo will open on localhost:5001

The React Query demo will open on localhost:5002

Code

View code differences in the pages directories of each app. The react-query app has an additional hooks folder to store the react-query hooks

About

2 identical apps. 1 written with React Query and the other using traditional useEffects for fetching

https://react-query-demos-with-query.vercel.app


Languages

Language:TypeScript 97.3%Language:JavaScript 1.4%Language:HTML 1.3%