Explore best practices for managing state