After the introduction of react hooks, adding state within a functional component is ... { useState } from 'react'; //create your forceUpdate hook function ...
確定! 回上一頁