Show Buttons
Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkdin
Share On Reddit
Share On Stumbleupon
Contact us
Hide Buttons

Tagged: react


webpack with babel6 and react

In this post we will walk through the basic setup to make babel6 work with web­pack. Assum­ing you have installed web­pack. On a high level, Babel has the fol­low­ing archi­tec­ture. Click on the image…


Create Reducer for Redux Applications

In redux you will have to gen­er­ate reduc­ers to update the state. You will have to call rel­e­vant reducer based on the action type. For exam­ple, func­tion setSurveySuccess(state, action) { … return newState; }…


Pure vs Impure functions

Char­ac­ter­estics of Pure Func­tions The return value of the pure func­tions solely depends on its argu­ments Hence, if you call the pure func­tions with the same set of argu­ments, you will always get the…


Using context and childContext in React

When work­ing with React in a deeply nested hier­ar­chy, often times you will find your­self in a sit­u­a­tion where you need to pass down props from the par­ent as is to the chil­dren and…