Skip to content

soham901/chunk

Repository files navigation

Chunk

A lightweight reactive core for learning and experimentation.

Features

  • Deep reactive state with Proxy
  • Auto-tracking effects
  • TypeScript support

Quick Start

Via CDN

<script type="module">
  import { reactive, effect } from 'https://cdn.jsdelivr.net/gh/soham901/chunk/src/core.min.js';
  
  const state = reactive({ count: 0 });
  effect(() => console.log(`Count: ${state.count}`));
  state.count++; // Triggers effect
</script>

Bundle Size: ~4.0K (minified)

API

reactive(target) – Creates a deeply reactive proxy

effect(fn) – Runs a function; re-runs when dependencies change

Not Included Yet

Computed values with dependency tracking, array reactivity, Map/Set support, effect cleanup, batched updates, component system, DOM rendering

Resources

  • Roadmap - Feature roadmap and version planning
  • Issues - Known issues and technical debt

Status

Developer is busy with coffee. Check back later for v0.0.1

About

A lightweight reactive core for learning and experimentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •