React Js / Redux :How to Update the Price of product comming from Api
Hello everyOne.
I have the api that returns a list of products . In my client side Im listing all the products using (react + redux ),
let's choose the product x with the Price 100 $ , the product X added to the cart , and now Im about to make the
checkout but hold one someOne call me in the phone and I left the browser open ....30 min later,back to my
laptop , the Api changed the price of X product from 100 $ to 50$ , but i didn't know that before , my question is
how can i handle this situation and be all the time up to date with my React App and Api ?.
A tutoriel or document or just a comment can help me .
Thank you in advance !
Please or to participate in this conversation.