react antd學習筆記 (1)

2021-08-22 17:53:49 字數 282 閱讀 4996

2、使用react和antd去完成**的構建,發現需要使用react-router的配合使用,在最新版本中react-router被拆分成了幾部分,主要使用了react-router的react-router-dom來實現瀏覽器的渲染,但是這個庫里router只能有乙個子元素,所以使用了dom元素去包含這些路由元素

3、對於react中的狀態還有函式的管理還在進一步學習中,目前結合redux的進行state的管理,但是希望能夠理解react的一些原理,防止後面自己走彎路

個人學習記錄,很多不對的地方還希望大佬批評指正

新手搭建 react antd 環境筆記

建立 config overrides.js const require customize cra module.exports override fixbabelimports import addlessloader package.json 修改 html頁面新增js 搭建axios imp...

學習筆記1

struct test test int x void fun class test1 test1 int x void fun int main void test1 a 行1 a.fun 行2 test1 b 行3 b.fun 行4 test c 行5 c.fun 行6 test d 行7 d....

學習筆記1

1 字串原地逆序 使用臨時變數 void reverse string s 5 求平均值 避免溢位 int f int x,int y 6 楊氏矩陣 bool young int a m n int x return false 7 十進位制轉十六進製制 string decimaltohexade...