New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@pras-ui/core

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pras-ui/core

> A collection of low-level hooks and utilities shared across the `@pras-ui` ecosystem.

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

@pras-ui/core

A collection of low-level hooks and utilities shared across the @pras-ui ecosystem.

This package provides internal helpers for other @pras-ui packages and is not typically installed directly.

Included Utilities

  • createContextScope: A utility for creating composable and namespaced React contexts.
  • composeEventHandlers: A helper to compose multiple event handlers into one.
  • intercept: A powerful utility to orchestrate complex event interactions. It allows you to enhance an event, run a user-provided handler, and then conditionally run default logic based on whether the user cancelled the event by calling preventDefaultPlus().
  • useControllableState: A hook for creating components that can be either controlled or uncontrolled.
  • useId: A hook for generating unique, SSR-safe IDs using React.useId.
  • useMergeRefs: A hook for merging multiple refs into a single ref callback.

FAQs

Package last updated on 09 Oct 2025

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