Use react app component for state