React Hooks 要解決的問題是狀態共享,是繼render-props 和higher-order components 之後的第三種狀態共享方案,不會產生JSX 嵌套地獄問題。
確定! 回上一頁