I'm new to React and Redux and have come to a problem I think might take me down a dark road.
My application state object thus far has purely contained properties that are specific to the application state.
But now I have a problem to solve where I need to render a specific component based on the result of an api call.
So here I need to record state, that only the UI is concerned with.
I have it working by adding a UI object to my state object, and have created a UI reducer and UI actions.
When the api call returns its response, the ui object in my state is updated.
I then use that state as a condition on whether to render the component in question.
I'm uneasy adding ui specific state to redux store.
Is this a bad move?