Comments (2)
Isn't that what the useEffect
hook is for? I think if you set watch
to true
the hook will update its return values and useEffect will be triggered again
from use-position.
@usamamashkoor could you do it or not?
from use-position.
Related Issues (15)
- useEffect executes many times during render when using options HOT 7
- Can we get a location if app is killed or web is not running? HOT 5
- Is speed available too? HOT 1
- Trigger usePosition() onClick HOT 1
- Latitude and longitude does not get updated after geolocation change HOT 1
- usePosition() not working in desktop safari version 13.1.1 HOT 7
- location is not accurate HOT 1
- We should add 1 more parameter "askForLocationPermission:true" by default
- Continually getting undefined for long and lat values HOT 4
- usePosition not returning bearing HOT 3
- can't install with react 18.2.0 HOT 1
- Not working while deploying
- Create @types/use-position npm package to use the library also with Typescript HOT 2
- [Violation] Only request geolocation information in response to a user gesture HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from use-position.