nico
Published in : 2022-03-14
Hello all,
I need to call for a long running task on the back end from axios with react.
I have a textarea on the front which will contain the progression messages.
How can I get the progression messages from the backend to the react frontend ?
For example the messages could contain:
- Search started
then
- Search started
- Search in Progress
- Search Done
Do I need to add a timer which will call for one endpoint on the backend which will return the messages and update the react ui?
If you see a better solution, thank for your help.
There is no comments yet
Join our community and get the chance to solve your code issues & share your opinion with us
Sign up Now