Redux-Saga with React - Fetching from Geolocation API
Oct 29, 2020
--
Geolocation works just as an asynchronous call. It's fairly simple to fetch it and store it in the component state with react. With redux-saga, you can easily do it by the following method
actions.js
geoSaga.js