Warunkowo ustawiaj stan wyboru w React
<input type="checkbox" {checked ? 'checked' : ''} name="example" />
Timur Turbil
<input type="checkbox" {checked ? 'checked' : ''} name="example" />