Mario Beltrán Alarcón
86355db002
Merge branch 'original-master' into animation-block-tests
...
# Conflicts:
# package.json
# yarn.lock
2019-08-21 23:42:10 +02:00
streamich
6e5cfaccef
chore: 🤖 fix master build
2019-08-20 23:37:42 +02:00
xobotyi
ed5f277b0b
Simpler navigator detection (still SSR compatible);
2019-08-20 23:44:11 +03:00
streamich
2d0fabf9ac
feat: 🎸 use only one useState and one useEffect call
2019-08-20 20:17:55 +02:00
streamich
5d31cf0dbc
feat: 🎸 support useBattery hook on server side
2019-08-20 19:40:22 +02:00
xobotyi
0e9894d28e
Rework vol.2 =)
...
Added fetching indicator;
Fixed isMounted state;
Mock function returned for browsers not supporting the Battery API;
Using react-fast-compare to avoid useless updates;
2019-08-20 00:50:59 +03:00
xobotyi
310fb6dc55
Reworked useBattery hook;
...
Fix : #308 ;
2019-08-19 12:06:20 +03:00
Ankith Konda
f02b92d423
Add TSLint + Prettier and fix lint issues
2019-04-12 23:18:11 +10:00
Ward Oosterlijnck
a41f0a80d6
Empty deps array for dependency free effects
2019-03-31 12:16:17 +11:00
streamich
cdc5ec596d
refactor: 💡 use import hooks from React proper
2018-12-16 11:02:52 +01:00
streamich
73ce535f09
feat: 🎸 add useBattery hook
2018-10-27 03:07:40 +02:00