sc0ttj / component

A tiny library for isomorphic JavaScript components
MIT License
2 stars 1 forks source link

Feature/game loop #50

Closed sc0ttj closed 2 years ago

sc0ttj commented 2 years ago

See issue #39

Implements a "game loop" add-on, based on delta-frame.

Also adds support for using <canvas> elements as your components containers, so you can work directly with the ctx in the view function, of the instead of just HTML/DOM templates.