DEV Community

Discussion on: A practical example of Suspense in React 18

Collapse
 
darkmavis1980 profile image
Alessio Michelini

I don't have it, but that's a good suggestion!
What I would recomment to look, is the follow up article I wrote about SWR which will show you how to simplify the code above, and then you can also take a look at mutations with the SWR hook, which you can read on the official docs

Collapse
 
matheus6_6 profile image
Matheus Barbosa

Thanks!

I will check it...