#Some one please tell me what's the difference between React Suspense VS NextJS Loading feature
3 messages · Page 1 of 1 (latest)
@vernal gust
I think the thing is that under the hood, the loading.[tsx/jsx] file convention uses Suspense under the hood.
It abstracts away suspense so you don't have to write it, and instead you just provide your Loading components and it will automatically throw in the suspense for you.
References/Docs:
https://beta.nextjs.org/docs/routing/loading-ui
https://beta.nextjs.org/docs/api-reference/file-conventions/loading
Oh, that's great. Thank you soo much for helping me out ❤️