Socket
Book a DemoInstallSign in
Socket

@modern-kit/react

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@modern-kit/react

modern-kit/react

latest
Source
npmnpm
Version
2.6.1
Version published
Weekly downloads
56
-44%
Maintainers
1
Weekly downloads
 
Created
Source

@modern-kit/react

React와 관련된 유용한 컴포넌트커스텀 훅을 제공하는 라이브러리입니다.


Documentation

@modern-kit의 공식 문서는 아래 웹사이트에서 확인하실 수 있습니다


Download

npm i @modern-kit/react
yarn add @modern-kit/react
pnpm i @modern-kit/react

Usage

import { useInterval } from '@modern-kit/react';

const App = () => {
  useInterval(() => {
    console.log('interval');
  }, 300);

  return <div>Modern Kit</div>;
}
// SubPath 사용 예시
// tsconfig moduleResolution 옵션이 `bundler`일 경우
import { flatten } from '@modern-kit/utils/array/flatten';
// tsconfig moduleResolution 옵션이 `node`일 경우
import { flatten } from '@modern-kit/utils/dist/array/flatten';

const arr = [1, [2, [3, 4], 5]];
const result = flatten(arr); // [1, 2, 3, 4, 5]

License

MIT © Modern Agile. See LICENSE for details.


Keywords

react

FAQs

Package last updated on 07 Sep 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