Quantcast
Channel: Reduxjs – JavaScript
Browsing all 5 articles
Browse latest View live

combineReducers in reduxjs explained

In applications where you use redux for your data management, you often combine mutiple reducers into a root reducer. Then root reducer is used to create the store. Redux ships with a utility function...

View Article



Passing the store down implicitly via context in a react redux app

I am going to show you two different ways of passing the store object down from the parent component to the all the child component. Without using the reacts’ context feature With using the...

View Article

Generating container components with connect utility in react redux app

Presentational component specifies look of the component where as Container component specifies how the behavior of it. I would recommend reading Presentation vs container components. In well...

View Article

Redux: Implementing store from scratch

In redux, store is a very central piece which brings actions, reducers and states together. It has the following main functions and API : Holds application state; Allows access to state via getState();...

View Article

Create Reducer for Redux Applications

In redux you will have to generate reducers to update the state. You will have to call relevant reducer based on the action type. For example, function setSurveySuccess(state, action) { ... return...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images