See the [README](./README.md) for primitives and examples. Most components should use direct `this.state` access; use this package for standalone reactive models or framework integrations.
Imported from techjoshua/exact (packages/reactive/AGENTS.md). Install upstream with npx skills add techjoshua/exact --skill reactive. Copyright stays with the author.
Using @exactjs/reactive
See the README for primitives and examples. Most components should use direct
this.state access; use this package for standalone reactive models or framework integrations.
Use native-looking object, array, Map, and Set operations on reactive values.
Use computed() for reusable pure values and watch() for low-level observed effects.
Read computed values directly when current data is required; transitive reads settle without a
global scheduler flush. Unwatched standalone computeds remain pull-only, while effect scopes own
durable framework computations.
Prefer component-owned transactions and optimistic actions over application-managed shadow stores.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/techjoshua-exact-reactive/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
techjoshua-exact-reactive.ocm.jsonjson
{
"ocm": "1",
"id": "techjoshua-exact-reactive",
"kind": "skill",
"name": "reactive",
"description": "See the [README](./README.md) for primitives and examples. Most components should use direct `this.state` access; use this package for standalone reactive models or framework integrations.",
"publisher": "techjoshua",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github-agents"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"See the [README](./README.md) for primitives and examples. Most components should use direct `this.state` access; use this package for standalone reactive models or framework integrations."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-agents",
"repository": "https://github.com/techjoshua/exact",
"path": "packages/reactive/AGENTS.md",
"ref": "c44b87c9053c40f858214c7f944beab39c569704",
"url": "https://github.com/techjoshua/exact/blob/c44b87c9053c40f858214c7f944beab39c569704/packages/reactive/AGENTS.md",
"key": "techjoshua/exact/packages/reactive/AGENTS.md"
}
},
"instructions": "# Using `@exactjs/reactive`\n\nSee the [README](./README.md) for primitives and examples. Most components should use direct\n`this.state` access; use this package for standalone reactive models or framework integrations.\n\n- Use native-looking object, array, `Map`, and `Set` operations on reactive values.\n- Use `computed()` for reusable pure values and `watch()` for low-level observed effects.\n- Read computed values directly when current data is required; transitive reads settle without a\n global scheduler flush. Unwatched standalone computeds remain pull-only, while effect scopes own\n durable f",
"cost": {
"context_tokens": 180
}
}
Fetch it by URL: GET /api/v1/registry/techjoshua-exact-reactive/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.