What is the difference between the two:
import React from 'react/addons';
let {PropTypes} = React;
vs
import React, { PropTypes } from 'react/addons';
Is there any proper convention that we should follow?
What is the difference between the two:
import React from 'react/addons';
let {PropTypes} = React;
vs
import React, { PropTypes } from 'react/addons';
Is there any proper convention that we should follow?