Zapier interview question

How is state managed in react