enhancementgood first issuehelp wanted
仓库指标
- 星标
- (3 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
Description: Create a hook for accessing browser geolocation API with proper error handling and loading states.
Requirements:
- Get current position
- Watch position changes
- Handle permissions and errors
- Loading states
API Proposal:
const { position, error, loading, getCurrentPosition } = useGeolocation();