react training
closures in components