I'm using react-query and set suspense true
.
I found that my web app became slow. That's because suspense makes network waterfall. Below img is this case.
However when I configure suspense to false
, it works in parallel.
I know that Suspense catches a Promise and shows Loading fallback until it is settled. So I understand why it make waterfall.
Then, is Suspense only useful as a page requests only one API call? Or, Is there a solution for this?