Skip to content

Commit 8dbe504

Browse files
committed
bump version and update documentation
1 parent 3346216 commit 8dbe504

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.5.0]
9+
10+
## Changed
11+
12+
- Prevent unnecessary save calls in react dev mode.
13+
- Support react 19
14+
815
## [0.4.4]
916

1017
## Changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# react-autosave
22

3-
![Tests](https://github.com/jollyjerr/react-autosave/workflows/Tests/badge.svg)
3+
[![Tests](https://github.com/jollyjerr/react-autosave/actions/workflows/ci.yml/badge.svg)](https://github.com/jollyjerr/react-autosave/actions/workflows/ci.yml)
44
[![codecov](https://codecov.io/gh/jollyjerr/react-autosave/branch/main/graph/badge.svg?token=K7C88VK5GE)](https://codecov.io/gh/jollyjerr/react-autosave)
55
![npm](https://img.shields.io/npm/dm/react-autosave)
66
![minified size](https://img.shields.io/bundlephobia/min/react-autosave?color=green)
77

8-
> An automagic component or hook to auto save controlled form values as they are updated.
8+
> Auto save controlled form values as they are updated.
99
10-
react-autosave is an extremely lightweight component or hook that periodically triggers a callback function if, and only if, the value to update has changed.
11-
Typically, this is used to make API calls when a user stops typing for a second in some input, but you could technically use this for any side effect you wanted to debounce. 🎉
10+
react-autosave is a lightweight solution for auto saving controlled form values.
11+
It handles many edge cases and guarantees a good user experience.
1212

1313
## Examples
1414

@@ -55,6 +55,7 @@ const EditBlogForm = () => {
5555

5656
```sh
5757
yarn add react-autosave
58+
5859
# or with npm...
5960
npm i react-autosave
6061
```

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"version": "0.4.4",
3-
"description": "A component or hook to auto save controlled form values as they are updated",
2+
"version": "0.5.0",
3+
"description": "A lightweight solution for auto saving controlled form values",
44
"repository": "https://github.com/jollyjerr/react-autosave",
55
"author": "jollyjerr <[email protected]>",
66
"license": "MIT",

0 commit comments

Comments
 (0)