File tree 4 files changed +17
-2
lines changed
4 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 37
37
- [ ` useMap ` ] ( ./docs/useMap.md ) &mdash ; tracks state of an object.
38
38
<br />
39
39
<br />
40
- - Sensors
40
+ - [ __ Sensors __ ] ( ./docs/ Sensors.md )
41
41
- [ ` useBattery ` ] ( ./docs/useBattery.md ) &mdash ; tracks device batter state.
42
42
- [ ` useGeolocation ` ] ( ./docs/useGeolocation.md ) &mdash ; tracks geo location state of user's device.
43
43
- [ ` useHover ` ] ( ./docs/useHover.md ) &mdash ; tracks mouse hover state of some element.
52
52
- [ ` useWindowSize ` ] ( ./docs/useWindowSize.md ) &mdash ; tracks ` Window ` dimensions.
53
53
<br />
54
54
<br />
55
- - Side effects
55
+ - [ __ Side-effects __ ] ( ./docs/ Side- effects.md )
56
56
- [ ` useTitle ` ] ( ./docs/useTitle.md ) &mdash ; sets title of the page.
57
57
<br />
58
58
<br />
Original file line number Diff line number Diff line change
1
+ # Sensors
2
+
3
+ * "Sensor Hooks"* listen to changes in some interface and force your components
4
+ to be re-rendered with the new state, up-to-date state.
Original file line number Diff line number Diff line change
1
+ # Side-effects
2
+
3
+ * "Side-effect Hooks"* allow your app trigger various side-effects using browser's API.
Original file line number Diff line number Diff line change 17
17
},
18
18
"author" : " @streamich" ,
19
19
"license" : " Unlicense" ,
20
+ "repository" : {
21
+ "type" : " git" ,
22
+ "url" : " https://github.com/streamich/react-use.git"
23
+ },
24
+ "bugs" : {
25
+ "url" : " https://github.com/streamich/react-use/issues"
26
+ },
27
+ "homepage" : " https://github.com/streamich/react-use#readme" ,
20
28
"dependencies" : {
21
29
"@types/react" : " ^16.4.18" ,
22
30
"@types/react-dom" : " ^16.0.9" ,
You can’t perform that action at this time.
0 commit comments