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.
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>
);
}
Contributions are welcome from everyone in the community. Please check the contribution guide linked below.
MIT © Viva Republica, Inc. For more details, see LICENSE