An open API service indexing awesome lists of open source software.

https://github.com/leandroberlin/react-geo

Geopositioning Exercise
https://github.com/leandroberlin/react-geo

Last synced: 3 months ago
JSON representation

Geopositioning Exercise

Awesome Lists containing this project

README

        

# React-Geo

A Geoposition App exercise

- Clone this repo

- Refactor App by creating a new component named called ``

- should use a child render callback that passes to the latitude and longitude state

- When you're done, should no longer have anything but a render method

- Now create a component that also uses a render callback with the current address. You will use `getAddressFromCoords(latitude, longitude)` to get the address, it returns a promise.

- You should be able to compose and beneath it to naturally compose both the UI and the state needed to render it

## Bonus tasks

- Split components and organize a better project structure

- Fix soon-to-be deprecated method (16.3) ;)

- Include Leaflet.js -> http://leafletjs.com and add a map!