Take Smaller Steps

We moved our event handlers into DomElement, but they’re really not doing anything for us. We need to make DomElement earn its keep by taking care of more of the event handling logic. This is a tricky set of refactorings, requiring us to use an essential technique for when a refactoring fails: back up and try again with smaller steps.

comments powered by Disqus