透過React Context API 與hooks 來做state manger. ... 透過以上範例,我們可以知道Context Provider 負責透過value 來改變狀態,而Context Consumer ...
確定! 回上一頁