项目
在 GitHub 查看
horprogs/react-query
关于
An example of building the app using React Query.
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Building the real app with React Query
An example of building the app using React Query.
Demo: https://react-query-example-3qmdb.ondigitalocean.app/
Article: https://www.smashingmagazine.com/2022/01/building-real-app-react-query/
The project is written in TypeScript and uses CRA, React query, axios mock server and material UI for easier prototyping.
Functionality
- Login using email and password and indicate the logged user
- Show the list of next appointments with load more feature
- Show information about one particular appointment
- Save and view changes history
- Prefetch additional information
- Add and amend required jobs
Cases covered in the app:
Deduping multiple requests for the same data into a single request

Updating "out of date" data in the background (on window focus)

Lazy loading list

Prefetching the data

Mutations and optimistic changes
Success:

Fail:

- Suspense and Error Boundaries

The detailed article is coming soon...
探索相关项目
加载中…