If you are using a checkbox input, the event should be a click as the change event won't trigger the re-render. import React, { useState } ...
確定! 回上一頁