Posted In: Java Script, React

React JS – How to call parent method

To call ‘parent method’ from Child ‘parent method’ should be passed as props to Child. Then Child can use it by accessing this.props. For example you want to refresh Parent after some change in Child

Read More

Tags: ,

by , on February 7th, 2017

Posted In: Java Script, React

What is the difference between state and props in React

Let us first understand how you start building your UI in React. First step is to find the Parent UI component. Then divide it in smaller parts till you get to the point that you can reuse that component. Next step is to build React classes around this relationship. Let us take example of Employee […]

Read More

Tags: , ,

by , on February 7th, 2017

Posted In: Java Script, React, Spring, Spring REST

React 15 + Spring 5 + JDBC + REST + Maven – Complexity level 2

Technologies used Maven 4.0.0 Spring 5.0.0.M4 React 15 Eclipse Neon JDK 1.8 Log4j 2.7 jackson-core 2.8.6 jackson-databind 2.8.6 Firefox rest add-on for testing In this example we will create simple Spring Rest services. This services will do simple CRUD operations. Then we will create simple UI grid using React, jQuery and Bootstrap. Let us create […]

Read More

Tags: , , , , ,

by , on February 6th, 2017

  • Categories