A single boolean opt-in, submitted with a form. For a setting that applies instantly use Switch.
<label className="o-choice"> so the whole row is the hit target.indeterminate for a parent whose children are partly selected — never as a third user-settable state.