Skip to content

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

License

Notifications You must be signed in to change notification settings

toss/react-simplikit

Repository files navigation

react-simplikit

react-simplikit · MIT License codecov

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