Two contrasting implementations of a simple counter module designed to illustrate the value of the React component paradigm