Skip to content

Commit 9b3bbb6

Browse files
committed
feat: usePrevious
1 parent d14650f commit 9b3bbb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/hooks/src/usePrevious/index.en-US.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ A Hook to return the previous state.
1313
<demo src="./demo/demo.vue"
1414
language="vue"
1515
title="Basic usage"
16-
desc="Record the previous value."> </demo>
16+
desc="Record the previous value"> </demo>
1717

1818
## Custom shouldUpdate function
1919

2020
<demo src="./demo/demo1.vue"
2121
language="vue"
2222
title="Custom shouldUpdate function"
23-
desc="Previous value update only when the shouldUpdate function return true."> </demo>
23+
desc="Previous value update only when the shouldUpdate function return true"> </demo>
2424

2525
## Result
2626

0 commit comments

Comments
 (0)