Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kingstinct/react

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kingstinct/react

Kingstinct Hooks Utility Library

  • 1.0.10
  • latest
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

⚠️ This repo has been moved to Kingstinct/zemble, and has been renamed to @zemble/react.

@kingstinct/react

npm (scoped)

This is a utility library for React that we use across our projects at Kingstinct (still early days for this lib).

To import a utility the best is to import it directly: import useEvent from '@kingstinct/react/hooks/useEvent'

You can also use named imports, but if you're not having all dependencies installed you'll probably run into errors: import { useEvent } from '@kingstinct/react'

The goal of this library (and the related @kingstinct/utils) is to:

  • Keep the number of dependencies in projects down
  • Have a common place to put useful utilities, so they're easier to maintain and find
  • Quickly get up and running with new projects

We believe this is a better approach than the alternatives:

  • Using one single utility library for everything, which would introduce unnecessary dependencies
  • Using lots of micro-libs. Micro-libs does have it's advantages, but is harder to maintain and means loosing oversight of the dependencies in a project.
  • Copy pasting between projects :)

Storybooks and Expo

Currently the Storybooks implementation works for web and the example-app works with Expo for mobile.

FAQs

Package last updated on 06 Feb 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc