Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tempo-core

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tempo-core

Core types for Tempo. The tempo architecture encourages a unilateral flow in a practical way.

  • 1.4.0
  • npm
  • Socket score

Version published
Weekly downloads
22
decreased by-8.33%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 27 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc