In a react/redux application:
- add a checkbox
injsx -
capture its state by setting its vDom state with
{ [name]: !this.state.checked }
in aswitchstatement -
unit tests are
jestsnapshot diffs
intypescript -
className="bootstrap"orclassName={style.injection}
incompatible
Making simple things hard in the front end again.