A simple trick to simplify your application and component state