how to store a auth token in react native from api responce
i am trying to store the response.data.token into sessionstorage or localstorage how can i do it from inside the axios then const getdata = async () => { var date2 = moment(mydate2).format('DD/MM/YYYY'); var date = moment(mydate).format('DD/MM/YYYY'); var todaydate = moment(new…