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

literaljs

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

literaljs

A small JavaScript library for building reactive user interfaces.

  • 5.0.0
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-14.29%
Maintainers
1
Weekly downloads
 
Created
Source

LiteralJS Logo


LiteralJS

A small JavaScript library for building reactive user interfaces.

  • Documentation: https://literaljs.com

Recent 5.0.0 microbundle:

$ microbundle
Build output to build:
      1.98 kB: index.js
         2 kB: index.m.js
      2.03 kB: index.umd.js

Features and stuff

  • Small: Only around 2kb in size (using microbundle).
  • Fast: Current and previous vDOM data is diffed instead of the actual DOM for performant updates and rendering.
  • Virtual DOM: Diffing occurs only on state and store update for more efficient DOM updates.
  • Flexible Syntax: Freedom to use JSX, Hyperscript, or Object syntax.
  • Lifecycle Methods: All DOM elements have the ability to trigger mounted, updated, and unmounted lifecycle functions.
  • Local Component State: Every component can manage state locally.
  • Global Application Store: One source of truth which makes other state management libraries (like Redux) less of a need.
  • Event Delegation: Uses event delegation and only event types defined within the application for increased performance.

FAQs

Package last updated on 24 Feb 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