React with Redux
Redux has come to be the status quo for managing application-level state on the front-end these days, and those who work on "large-scale applications" often swear by it. This topic covers why and how you should use the state management library, Redux, in your React applications.
Create a Redux store with createStore.
Use connect to connect component to Redux store and pull props from store to component.
Handle these messages and create a new state for the store in reducer functions.