Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geolocation #45

Open
4 tasks
gregrickaby opened this issue Feb 28, 2022 · 0 comments
Open
4 tasks

Geolocation #45

gregrickaby opened this issue Feb 28, 2022 · 0 comments
Labels
enhancement New feature or request hacktoberfest Issues open to Hacktoberfest contributions

Comments

@gregrickaby
Copy link
Owner

gregrickaby commented Feb 28, 2022

It'd be awesome if the app knew the user's (general) location to display their local weather, without them having to search. Luckily, Vercel supplies geolocation data!

  • Detect visitor's general location via Vercel Geolocation
  • Create a Location state in the React Context provider: <WeatherProvider />
  • User Next.js Middleware update the React Context
  • Run the weather query with this context data and display results
@gregrickaby gregrickaby changed the title Detect Location Geolocation Oct 7, 2022
@gregrickaby gregrickaby added hacktoberfest Issues open to Hacktoberfest contributions enhancement New feature or request labels Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest Issues open to Hacktoberfest contributions
Projects
None yet
Development

No branches or pull requests

1 participant