npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

react-simplikit

v0.0.48

Published

[![npm version](https://img.shields.io/npm/v/react-simplikit.svg)](https://www.npmjs.com/package/react-simplikit) [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/toss/react-simplikit/blob/main/LICENSE) [![codecov](ht

Downloads

21,988

Readme

react-simplikit

npm version MIT License codecov

English | 한국어

A lightweight, zero-dependency React utilities library providing hooks, components, and utilities.

Features

  • Zero dependencies - Extremely lightweight
  • 100% TypeScript - Full type safety
  • 100% Test coverage - Reliable and stable
  • SSR-safe - Works with Next.js and other SSR frameworks
  • Tree-shakeable - Only bundle what you use

Library Direction

react-simplikit is now maintained as a Universal Hook Library providing only pure state/logic hooks.

We are repositioning react-simplikit to focus exclusively on platform-independent hooks that work seamlessly across web and mobile (React Native, etc.).

What's Maintained: Pure State/Logic Hooks

Hooks that don't depend on specific platform APIs will continue to be actively maintained:

  • State management hooks like useToggle, useBooleanState, useCounter
  • Lifecycle hooks like usePrevious, useMount
  • Utility hooks like useDebounce, useThrottle
  • Backward compatibility (BC) is preserved for these existing pure logic hooks

What's Deprecated: Browser/Platform-Dependent Hooks

The following hooks that strongly depend on browser-specific APIs are now deprecated:

  • useGeolocation - depends on navigator.geolocation
  • useStorageState - depends on localStorage/sessionStorage
  • useIntersectionObserver - depends on IntersectionObserver API
  • useImpressionRef - depends on IntersectionObserver + Visibility API
  • useDoubleClick, useLongPress - depend on DOM events + window.setTimeout
  • useOutsideClickEffect - depends on DOM events + document
  • useVisibilityEvent - depends on document.visibilityState

These hooks:

  • Will not receive new features or major enhancements
  • Are marked as @deprecated in documentation
  • May be removed in future major versions

Package Status

  • react-simplikit will not be archived
  • Pure state/logic hooks will continue to be maintained
  • Critical bug fixes and minimal maintenance will continue
  • No new browser/platform-dependent hooks will be added

Installation

npm install react-simplikit
# or
yarn add react-simplikit
# or
pnpm add react-simplikit

Quick Start

import { useState, useEffect } from 'react';
import { useDebounce } from 'react-simplikit';

function SearchInput() {
  const [query, setQuery] = useState('');
  const debouncedQuery = useDebounce(query, 300);

  useEffect(() => {
    if (debouncedQuery) {
      searchAPI(debouncedQuery);
    }
  }, [debouncedQuery]);

  return <input value={query} onChange={e => setQuery(e.target.value)} />;
}

What's Included

Hooks

| Hook | Description | | ------------------------- | --------------------------------------------------- | | useBooleanState | Manage boolean state with handlers | | useDebounce | Debounce a value | | useDebouncedCallback | Debounce a callback function | | useInterval | Set up intervals declaratively | | useIntersectionObserver | Observe element visibility | | usePreservedCallback | Stable callback reference | | usePreservedReference | Stable object reference | | ... | See all hooks |

Components

| Component | Description | | ---------------- | --------------------------------- | | SwitchCase | Declarative switch-case rendering | | Separated | Render items with separators | | ImpressionArea | Track element impressions |

Utilities

| Utility | Description | | -------- | ----------------- | | assert | Runtime assertion | | noop | Empty function |

Documentation

Visit react-simplikit.slash.page for full documentation.

Related Packages

Contributing

We welcome contributions! Please see our Contributing Guide.

License

MIT © Viva Republica, Inc. See LICENSE for details.