Stateless functional components in React are pure functions of the passed in props
. These components do not rely on state and discard the use of component lifecycle methods. You may, however, still define propTypes
and defaultPropts
.
See https://facebook.github.io/react/docs/reusable-components.html#stateless-functions for further information about stateless functional components.