react-document-title-hook 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -8,6 +8,13 @@ A tiny React component to update the document title.
8
8
  npm install react-document-title-hook
9
9
  ```
10
10
 
11
+ ## React 19 recommended
12
+
13
+ ## Install
14
+
15
+ ```bash
16
+ npm install react-document-title-hook --legacy-peer-deps
17
+ ```
11
18
 
12
19
 
13
20
  ## Use Example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-document-title-hook",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "A tiny React component to update the document title",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -9,7 +9,7 @@
9
9
  "build": "vite build"
10
10
  },
11
11
  "peerDependencies": {
12
- "react": "^17.0.0 || ^18.0.0"
12
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
13
13
  },
14
14
  "keywords": ["react", "document-title", "hook"],
15
15
  "author": "Your Name",