Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@iadev93/zuno-react

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iadev93/zuno-react

Idiomatic React bindings for Zuno.

latest
Source
npmnpm
Version
0.0.12
Version published
Maintainers
1
Created
Source

@iadev93/zuno-react

Idiomatic React bindings for Zuno.

This package provides deep integration with React using useSyncExternalStore for performance and consistency.

Install

npm install @iadev93/zuno-react

Peer dependency:

  • react >= 18

Usage

import { createZunoReact } from "@iadev93/zuno-react";

const zuno = createZunoReact({
  // Optional: Enable batching
  batchSync: true,
});

const counter = zuno.store(
  "counter", 
  () => 0, 
  undefined, 
  // Optional: Custom equality
  (a, b) => a === b
);

function App() {
  const value = counter.use();
  return <button onClick={() => counter.set(v => v + 1)}>{value}</button>;
}

Features

  • No Context
  • No Provider
  • Fine‑grained subscriptions
  • Selector + equality support
  • SSR‑safe via useSyncExternalStore

Design Rules

  • React adapter never mutates core
  • React adapter never owns state
  • React adapter only subscribes

If you’re using Zuno in a real project, please open an issue and tell us your use case.

License

MIT

Keywords

zuno

FAQs

Package last updated on 08 Feb 2026

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