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

@rm-hull/chakra-error-fallback

v0.1.0

Published

A React component for standardized error fallback

Readme

Chakra Error Fallback

NPM Version Coveralls NPM Downloads

A type-safe React component for handling errors in Chakra UI applications, providing a fallback UI when something goes wrong.

Why use this?

  • Graceful Error Handling - Prevents your application from crashing and provides a user-friendly error message.
  • Customizable - Easily customize the appearance of the error fallback to match your application's theme.
  • Developer Friendly - Provides detailed error information in development mode to help with debugging.
  • SSR Compatible - Works seamlessly with server-side rendering.
  • Expanded Stack Frames - Stack frames are automatically expanded for better readability. This feature requires build.sourcemap=true in your Vite configuration to function correctly.
  • Colorized Stack Traces - Stack traces are colorized to improve readability and quickly identify different parts of the trace.

Quick Start

npm install @rm-hull/chakra-error-fallback
# or
yarn add @rm-hull/chakra-error-fallback

Basic Usage

Wrap your application or a part of it with the ErrorBoundary component from react-error-boundary and provide the ErrorFallback component to the fallbackRender prop.

import { ErrorBoundary } from "react-error-boundary";
import { ErrorFallback } from "@rm-hull/chakra-error-fallback";
import { ChakraProvider } from "@chakra-ui/react";

function App() {
  return (
    <ChakraProvider>
      <ErrorBoundary FallbackComponent={ErrorFallback}>
        <YourAppComponent />
      </ErrorBoundary>
    </ChakraProvider>
  );
}

See the Storybook for further usage details.

Contributor Guidelines

Releasing a New Version

This project uses Changesets to manage versioning and automated npm publishing.

How the release process works

  1. Create a changeset on your feature branch

    When you’ve made changes you want to release, first create a new branch (not on main):

    git checkout -b feature/my-change

    Make your changes, then run:

    yarn changeset

    You’ll be prompted to:

    • Choose the type of version bump (patch, minor, or major)
    • Write a short summary of the change

    This command creates a markdown file in the .changeset/ directory describing your upcoming release.

  2. Commit and push your feature branch

    git add .
    git commit -m "feat: A short description of the change"
    git push -u origin feature/my-change
  3. Merge the feature branch into main

    • Once your PR is reviewed, merge it into main. The .changeset file must be present in main for the next step.
  4. Automatic version bump and publish

    • When changes are pushed to main, GitHub Actions will automatically:

  5. That's it! Your package is now live on npm with an updated version and changelog.


Notes

  • The npm publish step is automated via GitHub Actions (.github/workflows/ci.yml).
  • Ensure your NPM_TOKEN secret is configured in the repository settings under Settings → Secrets → Actions.
  • Changesets should always be created on feature branches, not directly on main.
  • No pull requests are created for version bumps; merging your feature branch into main triggers the release automatically.