
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@mborecki/react-geo
Advanced tools
Package to use [Geolocation API](https://developer.mozilla.org/pl/docs/Web/API/Geolocation_API) in React application. It is using Context API to minimalize event listeners when you need use geolocation data in many conponents.
Package to use Geolocation API in React application. It is using Context API to minimalize event listeners when you need use geolocation data in many conponents.
yarn add @mborecki/react-geo
import {GeoModuleProvider} from '@mborecki/react-geo';
const App = () => {
return <GeoModuleProvider>
<MyComponent />
</GeoModuleProvider>
}
import {useGeo} from '@mborecki/react-geo';
const MyComponent = () => {
const {position, accuracy, error} = useGeo();
return <div>{JSON.stringify(position)}</div>
}
Provider for context module uses to store data.
All properties equals properties from PositionOptions
Hook for getting geolocation data.
FAQs
Package to use [Geolocation API](https://developer.mozilla.org/pl/docs/Web/API/Geolocation_API) in React application. It is using Context API to minimalize event listeners when you need use geolocation data in many conponents.
The npm package @mborecki/react-geo receives a total of 0 weekly downloads. As such, @mborecki/react-geo popularity was classified as not popular.
We found that @mborecki/react-geo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.