Address some react antipatterns