As the name suggests, a function component is implemented using a JavaScript function. These components are sometimes referred to as functional stateless components, which can be a little confusing because they can contain states in more recent versions of React.