Redux: Implementing store from scratch

In redux, store is a very cen­tral piece which brings actions, reduc­ers and states together. It has the fol­low­ing main func­tions and API : Holds appli­ca­tion state; Allows access to state via get­State(); Allows state to…