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

@pluralsight/react-utils

Package Overview
Dependencies
Maintainers
1
Versions
1213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pluralsight/react-utils

A set of React custom hooks for Pando.

  • 0.7.1-next-dc8a4e
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
267
decreased by-24.15%
Maintainers
1
Weekly downloads
 
Created
Source

React utils

A library of custom React hooks that help manage advanced React features like State and Accessibility.

  • Checkout the docs

What role does this package play in Pando?

erDiagram
  PANDO ||--o{ DESIGN-TOKENS : contains
  PANDO ||--o{ ICONS : contains
  PANDO ||--o{ HEADLESS-STYLES : contains
  PANDO ||--o{ REACT-UTILS : contains
  DESIGN-TOKENS ||..|{ NORMALIZE-SETUP : contains
  NORMALIZE-SETUP ||..|{ THEMES : contains
  HEADLESS-STYLES ||--|{ DESIGN-TOKENS : uses

This package utilizes the latest version of React to export custom hooks to use along with Headless Styles or independently from Pando.

React Utils General Function

The react-utils package is independent from the Pando sister libraries, but works cohesively when combined with them. It's true purpose is to provide custom hooks that successfully work along side Headless Styles within the Pando Normalize system (i.e. themes, etc.).

However, most if not all custom hooks should work successfully outside of Pando due to the nature of its design.

Install

This project uses pnPm so there are no setup commands needed. If you get any errors, you may need to run an initial pnpm install or ensure you are using Node >= 18.

Development

There is no development sandbox for this specific project, but most of the time, we import the hooks into the Headless Styles sandbox which is just as easy.

From the root directory of the project, run:

pnpm run start:sandbox

Testing

To run your unit tests, make sure you are in the project root directory not this workspace - and run:

pnpm test packages/react-utils/tests

Contribution

If you plan on contributing to this project, please take time to read our CONTRIBUTING.md. Pull requests that do not adhere to the requirements in this doc will automatically be flagged and closed.

Keywords

FAQs

Package last updated on 24 Apr 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