react-simplikit
TypeScript icon, indicating that this package has built-in type declarations

0.0.42 • Public • Published

react-simplikit

react-simplikit · MIT License codecov Discord Badge

English | Korean

react-simplikit is a lightweight yet powerful library that provides various utilities for use in React environments.

  • react-simplikit is dependency-free, making it extremely lightweight.
  • react-simplikit guarantees reliability with 100% test coverage.
  • react-simplikit offers JSDoc comments, detailed documentation, and examples to ensure any developer can easily use it.

Example

import { useBooleanState } from 'react-simplikit';

function Component() {
  // using the `useBooleanState` hook to manage state.
  const [open, openBottomSheet, closeBottomSheet, toggleBottomSheet] =
    useBooleanState(false);

  return (
    <div>
      <p>Bottom Sheet State: {open ? 'Open' : 'Closed'}</p>
      <button onClick={openBottomSheet}>Open</button>
      <button onClick={closeBottomSheet}>Close</button>
      <button onClick={toggleBottomSheet}>Toggle</button>
    </div>
  );
}

Contributing

Contributions are welcome from everyone in the community. Please check the contribution guide linked below.

CONTRIBUTING

License

MIT © Viva Republica, Inc. For more details, see LICENSE

Readme

Keywords

Package Sidebar

Install

npm i react-simplikit

Weekly Downloads

3,400

Version

0.0.42

License

MIT

Unpacked Size

344 kB

Total Files

143

Last publish

Collaborators

  • seungrodotlee