
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
@slango/reazione
Advanced tools
Collection of generic react utilities ("reazione" is Italian for reaction).
pnpm add @slango/reazione
Requires react ^19 as a peer dependency.
@slango/reazione/hooks/*)useDebouncedCallback — debounced wrapper around a callback with run/cancel and unmount cleanup.useMounted — false during SSR/hydration, true after mount.useClickOutside — invoke a handler when clicking outside an element.useClientValue — resolve a client-only value after hydration without mismatches.usePreventScrolling — lock background scroll, compensating for the scrollbar width.useScrollEdge — debounced notification when scrolling approaches an edge.import { useDebouncedCallback } from '@slango/reazione/hooks/useDebouncedCallback';
const Search = ({ onSearch }: { onSearch: (term: string) => void }) => {
const debounced = useDebouncedCallback(onSearch, 300);
return <input onChange={(e) => debounced.run(e.target.value)} />;
};
import { Edge, useScrollEdge } from '@slango/reazione/hooks/useScrollEdge';
useScrollEdge({ edge: Edge.BOTTOM, onEdgeReached: loadNextPage });
Run linting and unit tests:
pnpm lint
pnpm test
Issues and pull requests are welcome.
FAQs
Collection of generic react utilities
The npm package @slango/reazione receives a total of 315 weekly downloads. As such, @slango/reazione popularity was classified as not popular.
We found that @slango/reazione demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.