geolocation Tailwind Templates

Geolocation

fetch user geolocation using the Geolocation API

useGeolocation

screen recording of app

A react app using the useGeolocation hook from react-use. Try it here.

Has some basic error handling:

screen recording of app erroring

Styled with daisyUI and tailwindCSS.

Tested using React Testing Library.


Clone me and then run me using npm start Test me using npm test / npm test --coverage Build me using npm build

Top categories

Loading Svelte Themes