ReactJS


What is React

                 React is a JavaScript Library use to develop User Interfaces.Using this library we can isolate complex user interface in to a isolated part called "Component", within this component we can manage interface.

What's are the differences between state and props ?

                 Props

                     "Props" is a shorten form word in order to describe properties.These properties are useful when we are going to transfer data among one component to another component. This transaction should be done form Parent component to Child component only, This is a noticeable feature in react called "one-way data flow" and also these props are immutable.

                 States

                      This this is a "different game", because this "states" is belong to the particular component. These states can be change. In order to get data from the state and update state there are two methods to do that. this.state method is used to read form the state, this.setState() is used to set or update the sate.

Comments

Popular posts from this blog

"Application Frameworks" Are you familiar with this ?

Description about "NodeJs"