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

Get initial data #23

Closed
MarioKrstevski opened this issue Dec 9, 2018 · 1 comment
Closed

Get initial data #23

MarioKrstevski opened this issue Dec 9, 2018 · 1 comment
Assignees
Labels

Comments

@MarioKrstevski
Copy link
Collaborator

MarioKrstevski commented Dec 9, 2018

Make weather info dynamic, by detecting the geolocation for the user and finding info for their location or the nearest you can find.

You might need to access their geo location and require their approval to share location.

child of #2
depends on #22
weather info - look.png

@jenbird
Copy link
Collaborator

jenbird commented Dec 18, 2018

Had to move everything into Weather component in order to call ComponentDidMount, set state with location and call weather API with location. Think this can be done with async/await calls to a weather-api.js file but will come back and refactor this at a later date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants