Edit on GitHub

Basics

This section is a walkthrough of building a simple (somewhat contrived) decorator that adds an incrementable counter to a component.