Skip to content

Commit e179efa

Browse files
committed
readme fixes
1 parent 05726c2 commit e179efa

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
## **About**
1111

12-
Shared React variables provide you easy and comfortable mutable state management based on hooks.
12+
Shared React variables provide you easy and comfortable global state management based on hooks. You can treat it like a **global mutable useState**. Isn't it awesome?
1313

1414
## 🔍 **Example**
1515

@@ -30,7 +30,7 @@ const Timer = () => {
3030
};
3131

3232
const AnotherTimerWithSameState = () => {
33-
// using the same variable in another component
33+
// using pretty same timer in another place
3434
const timer = useTimer();
3535

3636
return <div>{timer.ticks}</div>

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@alevnyacow/shared-react-variables",
3-
"version": "2.0.4",
4-
"description": "Easy and comfortable React state manager",
3+
"version": "2.0.5",
4+
"description": "Global mutable useState for React. For real!",
55
"main": "transpiled/index.js",
66
"scripts": {
77
"test": "npm run build && npm pack && cd ./tests/test-application && npm i && npm run test",

tests/test-application/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@alevnyacow/shared-react-variables": "file:../../alevnyacow-shared-react-variables-2.0.4.tgz",
6+
"@alevnyacow/shared-react-variables": "file:../../alevnyacow-shared-react-variables-2.0.5.tgz",
77
"@testing-library/jest-dom": "^5.16.2",
88
"@testing-library/react": "^12.1.4",
99
"@testing-library/user-event": "^13.5.0",

0 commit comments

Comments
 (0)