React Ref Constructor
# React constructor() Method
[ React Component Lifecycle](#)
The format of the constructor() method is as follows:
constructor(props)
Before mounting a React component, its constructor method will be called.
When implementing a constructor in a React.Component subclass, you should call super(props) before any other statements.
The following example calls the constructor whenever the component is created:
## Example
class Header extends React.Component{constructor(props){super(props); this
YouTip