Javascript – Getting data on button click, waiting for it to be stored and then updating component
I have a Wails app (React frontend - Go backend), and I am trying to do the following: Receive button click -> Do a query on the backend -> receive response from backend -> store response on localStorage -> render…