atomico-hooks-effects

Official

Orchestrate Atomico side effects with hooks.

Authoratomicojs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Atomico hooks provide a consistent way to manage side effects and lifecycle for web components, bridging the gap between React-like patterns and the web component lifecycle.

Core Features & Use Cases

  • Use useEffect for post-render asynchronous operations such as data fetching and subscriptions.
  • Use useLayoutEffect for synchronous DOM measurements and mutations after updates.
  • Use useInsertionEffect for pre-paint DOM tweaks and style injections.
  • Maps lifecycle callbacks (connectedCallback / disconnectedCallback) to hook-based effects, reducing boilerplate and errors.

Quick Start

Import c and the hooks from atomico and begin using these hooks in your components.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: atomico-hooks-effects
Download link: https://github.com/atomicojs/atomico/archive/main.zip#atomico-hooks-effects

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.