Hooks let us split the code based on what it is doing rather than a lifecycle ... there are usually better solutions to avoid re-running effects too often.
確定! 回上一頁