Wednesday, May 10, 2017

package.json in Node.js

This file goes in the root of our package or application and it tells how our package is structured and what to do to install it.

"npm init" command will create a package.json file and it will ask for details as shown below



No comments:

Post a Comment

Call a function in child component from parent component in React

Consider the following parent component class Parent extends React.Component { constructor(props) { super(props);         thi...