All examples By author By category About

micahstubbs

Interactive General Update Pattern [ES2015]

an ES2015 fork of the very nice Interactive General Update Pattern from @cmgiven


Original README.md


An interactive exploration of the general update pattern (with the v4 API). Use the arrow keys to navigate between lines of code.

The goal is to demonstrate repeated loops through a simplified update function, advancing one line at a time. Details like positioning are omitted so as to focus only on 1) what is selected and 2) what exists in the DOM.

From an idea by Alex Engler. Suggestions or feedback welcome.