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