-
is it best way, every we need hit API we always get from localstorage ? in my opinion maybe something problem with performance if we do this cause we always communicate with localstorage every consume API, i hope im wrong.. so if this is not the best way can you give me solution how to get token auth using mobx without communicate with localstorage ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
if you use persistence in your store, you write data to store for every change and that's ok, |
Beta Was this translation helpful? Give feedback.
-
if you worry about the performance of AsyncStorage you can use MMKV ~30x faster |
Beta Was this translation helpful? Give feedback.
if you use persistence in your store, you write data to store for every change and that's ok,