ichigo.js

Simple and Intuitive Reactive Framework

Lightning Fast
Optimized performance with efficient batched updates
🎯
Vue-like API
Familiar syntax for Vue developers
📦
Lightweight
Minimal bundle size, maximum performance
💪
TypeScript
Full type support built-in

Interactive Examples

Explore real-world applications built with ichigo.js

Todo List

A full-featured todo list application with complete CRUD operations

  • Add, delete, and complete tasks
  • Filter by status (all/active/completed)
  • Data persistence with LocalStorage
  • Real-time statistics display
View Demo →
🔍

Product Search

A product search system with real-time search and filtering

  • Keyword search (name & description)
  • Category filter
  • Price range filter
  • Multiple sort options
View Demo →
🛒

Shopping Cart

A shopping cart system with product management and automatic calculations

  • Add and remove items from cart
  • Adjust item quantities
  • Coupon code support
  • Automatic shipping and total calculations
View Demo →

Advanced Features

Explore powerful features for complex applications

🔌

Lifecycle Hooks

Integrate with third-party libraries and manage component lifecycle

  • Chart library integration
  • Dynamic list with lifecycle tracking
  • CSS animation integration
  • Resource cleanup patterns
View Demo →
🎬

Anime.js Integration

Advanced animations using Anime.js animation library

  • Fade & slide animations
  • Staggered grid effects
  • Morphing shape animations
  • Elastic & bounce easing
View Demo →
📊

Chart.js Integration

Professional charts with automatic updates and cleanup

  • Dynamic line & bar charts
  • Responsive doughnut charts
  • Computed statistics
  • Automatic data synchronization
View Demo →
📐

Resize Observer

Monitor element size changes with ResizeObserver API

  • Real-time size tracking
  • v-resize directive
  • Content & border box dimensions
  • Automatic cleanup in destroy phase
View Demo →
👁️

Intersection Observer

Detect element visibility with IntersectionObserver API

  • Scroll-based visibility detection
  • v-intersection directive
  • Custom threshold & options
  • Lazy loading & infinite scroll
View Demo →

Performance Observer

Monitor performance metrics with PerformanceObserver API

  • Performance marks & measures
  • v-performance directive
  • Custom entry types & options
  • Real-time performance monitoring
View Demo →

Quick Start

Get started with ichigo.js in minutes

<!DOCTYPE html>
<html>
<body>
  <div id="app">
    <h1>{{ message }}</h1>
    <input v-model="message">
    <p>Count: {{ count }}</p>
    <button @click="increment">Increment</button>
  </div>

  <script type="module">
    import { VDOM } from '@mintjamsinc/ichigojs';

    VDOM.createApp({
      data() {
        return {
          message: 'Hello ichigo.js!',
          count: 0
        };
      },
      methods: {
        increment() {
          this.count++;
        }
      }
    }).mount('#app');
  </script>
</body>
</html>

Installation

Install via npm or use from CDN

npm install @mintjamsinc/ichigojs

Core Features

Everything you need for modern web development

🔄 Reactive Data

All data properties are automatically reactive. Changes are detected and DOM updates are scheduled automatically.

  • ✓ Automatic change detection
  • ✓ Deep object tracking
  • ✓ Array mutation support

⚙️ Computed Properties

Computed properties automatically track their dependencies and re-evaluate when needed.

  • ✓ Automatic dependency tracking
  • ✓ Smart caching
  • ✓ Lazy evaluation

🎨 Rich Directives

Vue-like directives for common UI patterns and interactions.

  • ✓ v-if / v-else-if / v-else
  • ✓ v-for with key support
  • ✓ v-model with modifiers