Commit 6eee4b5
committed
feat: lower React peer dependency requirement to ^16.8.0
- Change React peer dependency from ^19.1.0 to ^16.8.0
- Change React DOM peer dependency from ^19.1.0 to ^16.8.0
- Update @types/react and @types/react-dom to ^18.2.0
- Bump version to 0.4.0
This resolves dependency conflicts with projects using React 18.x
and makes the package compatible with React 16.8+ (when hooks were introduced).1 parent 7f5b7de commit 6eee4b5
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments