yo-yo is a tiny, modular JavaScript library for building UI components by combining template literals with efficient DOM diffing. The core idea behind yo-yo is to enable developers to write modular, dynamic views using ES6 tagged template syntax, then update those views by intelligently diffing and morphing the real DOM rather than re-rendering everything. It’s inspired by patterns found in larger UI frameworks but stays extremely lightweight—only a few kilobytes when minified and gzipped—by leveraging existing tools like bel (for templating) and morphdom (for DOM updates). yo-yo underpins some higher-level frameworks and is ideal for developers who want direct control over components without the overhead of a full reactive framework. Its simplicity and elegant API make it a favorite for small to medium front-end projects where performance and minimalism matter.

Features

  • ES6 tagged template literal UI creation
  • Efficient DOM diffing and patching
  • Ultra-small footprint (few KB)
  • Component modularity without heavy framework
  • Works with plain JavaScript/DOM
  • Can power custom UI frameworks

Project Samples

Project Activity

See All Activity >

Categories

Libraries

Follow yo-yo.js

yo-yo.js Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of yo-yo.js!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

6 hours ago