想學習提升 React,必看的八個工具庫源碼
Ahooks(? star:13.8k )
一個阿里出品的 React Hooks 庫
文檔地址:https://ahooks.js.org/zh-CN/
代碼倉庫:https://github.com/alibaba/hooks
React-use(? star:41.3k )
超火的 React Hooks 庫
代碼倉庫:https://github.com/streamich/react-use
React-Query(? star:41.2k)
一個超火的 React 請求庫
React Query通常被描述為 React 缺少的數據獲取(data-fetching) 庫,但是從更廣泛的角度來看,它使 React 程序中的獲取,緩存,同步和更新服務器狀態變得輕而易舉
文檔地址:https://cangsdarm.github.io/react-query-web-i18n/react/
代碼倉庫:https://github.com/TanStack/query
Ant-Design(? star:91.5k )
阿里出品,國內 React 組件庫的 Top1,當之無愧!
文檔地址:https://ant-design.antgroup.com/index-cn
代碼倉庫:https://github.com/ant-design/ant-design
Zustand(? star:45.3k )
一個 React 的狀態管理庫,輕量級,核心源碼只有幾十行
文檔地址:https://docs.pmnd.rs/zustand/getting-started/introduction
代碼倉庫:https://github.com/pmndrs/zustand
Material UI(? star:92.9k )
全世界 star 數最多的 React 組件庫!!!交互非常之好看
文檔地址:https://mui.com/material-ui/react-autocomplete/
https://github.com/mui/material-ui
React Flow(? star:23.2k)
一個 React 流程圖的庫
文檔地址:https://reactflow.dev/
代碼倉庫:https://github.com/xyflow/xyflow?tab=readme-ov-file
Excalidraw
一個超級無敵牛的 React 繪制平臺,我平時寫文章都是用這個平臺來進行繪制圖案
文檔地址:https://docs.excalidraw.com/
代碼倉庫:https://github.com/excalidraw/excalidraw