tempo-core
TypeScript icon, indicating that this package has built-in type declarations

1.9.0 • Public • Published

tempo-core

tempo-core includes the basic types and building blocks for tempo implementations. The only one available right now is tempo-dom.

The tempo concept is quite simple. You describe your UI creating templates. A template has a render method that takes a context (provide the DOM context for example) and a state (the data to render).

The side-effect of render is to create a piece of UI and return a new View instance to control it.

View has a method destroy and when it is a Dynamic view a change(state: State) method.

Package Sidebar

Install

npm i tempo-core

Weekly Downloads

1

Version

1.9.0

License

Apache-2.0

Unpacked Size

34.5 kB

Total Files

37

Last publish

Collaborators

  • fponticelli