I\'m trying to implement a React smart component using functions as shown here https://hackernoon.com/react-stateless-functional-components-nine-wins-you-might-have-overlook
Stateless Functional Components can't have state, you will need to use a regular React Component if you want to have state within the component.