-
released this
2023-07-24 13:06:27 +03:00 | 75 commits to main since this release- New: Added the
useLocalStoragehook to the library. This new hook simplifies working with the browser's localStorage. - The
useLocalStoragehook automatically updates components when the data in localStorage changes. It accepts a key and an initial value as arguments. - Upon component mount, the hook reads the value from localStorage using the specified key. If the value is not found, the initial value is used.
- When the value of
useLocalStoragechanges, it is written to localStorage using the specified key. - The
useLocalStoragehook is written in TypeScript and is well-tested. - Documentation and usage examples have been added to the README.md.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- New: Added the
-
Release v1.0.2 Stable
released this
2023-07-24 11:05:33 +03:00 | 79 commits to main since this releaseThis release includes the following improvements:
-
Updated useForm hook: Replaced default export with named export for useForm hook, improving import consistency across the library.
-
Enhanced type definitions: Added detailed TypeScript type definitions for useForm hook, enhancing type checking and IntelliSense in TypeScript projects.
-
Bug fixes and stability improvements: Fixed several minor bugs and improved the overall stability of the library.
Please see the individual commit messages for more detailed information about the changes.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
-
released this
2023-07-19 14:18:32 +03:00 | 83 commits to main since this releaseRelease Description:
Added a new function, useForm, to simplify form state management in React applications.
useForm allows easy tracking of form state, handling input changes, and form resetting.
The useForm function takes an initial form state object as an argument and returns an object with the current form state, a function to handle input changes, and a function to reset the form.
An example usage of the useForm function is provided in the project documentation.
We believe that the addition of the useForm function will greatly simplify form state management in your projects and help you develop more efficient and user-friendly forms.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)