// To be able to check the box with a boolean value, // you need to use the checked property instaed of value. <input type="checkbox" checked={completed} onChange={handleCompletedChange} />