Skip to content

wo-o29/react-simplikit

 
 

Repository files navigation

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

About

A lightweight yet powerful library that provides various useful tools in React environments.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.1%
  • CSS 2.4%
  • Vue 1.5%
  • JavaScript 1.0%