Using a Class Component with contextType
React 16.6 introduced the ability to consume data from context without using the
Consumer component directly. This helps cut down on unnecessary nesting in your components’ JSX, making them easier to read. To take advantage of
contextType you’re required to work with a class component.
Benny component rewritten as a class component.