react training
behavior on state