[React] FIX: Hooks can only be called inside the body of a function component.錯誤

Hooks can only be called inside the body of a function component錯誤除了 react 要升級到   16.8.0-alpha.1 之外  react-dom 也要 16.8.0-alpha.1 以上
蔡松霖
Related Posts with Thumbnails