Doubt in using NextJS 13 with Firebase
Unanswered
Santhosh Prabhakaran posted this in #help-forum
I'm having a doubt that Do we need any kind of loading state when we use Firebase ? Because most of the article tells that Firebase is super fast and we don't need any loading state for that. Especially In NextJS, will the "loading.tsx" file works as loading state while fetching the data from Firebase ? or
Should we need to set manual loading state using useState like react or any other way in NextJS ?
Should we need to set manual loading state using useState like react or any other way in NextJS ?
1 Reply
It works automatically IG, just add loading.tsx while fetching it will automatically show loading.tsx.