Pergunta de entrevista da empresa SmartThings

How do you use state in app development?