React

What is mapStateToProps and mapDispatchToProps ?

What is mapStateToProps and mapDispatchToProps ? MapStateToProps : mapStateToProps() function receives the state from the store as its argument that is called mapStateToProps. mapStateToProps() is not reference our store in our component when retrieving the state. MapDispatchToProps : mapDispatchToProps() receives the dispatch function from the store that is called mapDispatchToProps. Read more…

By webjustify, ago
React

React Redux connect deep explanation

React Redux connect deep explanation Redux is a react library for state management, and has made working with React more manageable for everyone. However, there are a lot of cases where people blindly follow boilerplate code to integrate Redux with their React application without understanding all the moving parts involved. Read more…

By webjustify, ago
React

Passing data from parent to child components

Passing data from parent to child components Basically, React have one-way data-binding feature, another words data only goes one way. React has props attribute for passing data from parent to child components. Props always passed down from the parent to the child components through out the application. A child component can Read more…

By webjustify, ago
React

Reactjs router

Reactjs Router using  react-router, react-router-dom, and react-router-native Reactjs router most powerful routing library, It helps in adding new screens and flows of application. It provides a sync URL with data that’s be displayed on the web page. It maintains standard structure and behavior and It is used for developing single page web applications. Currently Read more…

By webjustify, ago
React

New lifecycle methods react 16.3

New lifecycle methods react 16.3 In React 16.3 , we are going to introduce new component life-cycles. As per reactjs official doc, these life-cycle methods have replaced existing methods. < 16.3 react version lifecycle methods of react. New life-cycle methods are: getDerivedStateFromProps() getSnapshotBeforeUpdate() static getDerivedStateFromProps(nextProps, prevState) : There are many things Read more…

By webjustify, ago
React

Fragments in react js

Fragments in react js Overview of Fragments in react js : If you are writting elements in react js before the fragments you was need wrapper class / nested class / extra nodes to the DOM. But latest version 16.x in react component to return multiple elements. Fragments let you group a list Read more…

By webjustify, ago
React

Flux Concept

ReactJS Flux Concept Overview of ReactJS Flux Concept :- Flux is the application architecture that Facebook uses for building client-side web applications. It is not a framework or a library. It is simply a new kind of architecture that complements React and the concept of Unidirectional Data Flow, and you can start using Flux Read more…

By webjustify, ago
Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.