Skip to content

Commit

Permalink
doc: optimize README
Browse files Browse the repository at this point in the history
  • Loading branch information
Okabe-Rintarou-0 committed Feb 25, 2024
1 parent 504dd40 commit 2f9b9e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ React 使用 JSX 来定义组件,支持两种方式:类组件和函数式组
+ 使用 Typescript 代替 Javascript。
+ 使用 [useSWR](https://swr.vercel.app/zh-CN) / [React Query](https://cangsdarm.github.io/react-query-web-i18n/react/getstarted/quick-start/) + [axios](https://www.npmjs.com/package//axios) 代替 `fetch` 方案;
+ 使用 [React.createContext](https://zh-hans.react.dev/reference/react/createContext) React原生方法,或者 [Redux](https://cn.redux.js.org/)、[Zustand](https://docs.pmnd.rs/zustand/getting-started/introduction#first-create-a-store) 等全局状态管理器更方便地传递上下文。(为什么要使用这些?了解React开发之中的[Props Drilling](https://www.geeksforgeeks.org/what-is-prop-drilling-and-how-to-avoid-it/)问题)
+ 使用 [React.createContext](https://zh-hans.react.dev/reference/react/createContext) React原生方法,或者 [Redux](https://cn.redux.js.org/)、[Zustand](https://docs.pmnd.rs/zustand/getting-started/introduction#first-create-a-store) 等全局状态管理器更方便地传递上下文。(为什么要使用这些?了解React开发之中的 [Props Drilling](https://www.geeksforgeeks.org/what-is-prop-drilling-and-how-to-avoid-it/) 问题)
## 致谢
Expand Down

0 comments on commit 2f9b9e4

Please sign in to comment.