Stateless Functional Components

suggest change

Remarks

Stateless functional components in React (before Hooks) are pure functions of the props passed in. These components do not rely on state and do not use component lifecycle methods. You may, however, still define propTypes and defaultProps.

See https://facebook.github.io/react/docs/reusable-components.html#stateless-functions for further information about stateless functional components.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents