how to effectivly make a private routes in nextjs for some pages?
Unanswered
Finnish Spitz posted this in #help-forum
Finnish SpitzOP
Is using useEffect during the initial load with validation sufficient, or is it preferable to store it in local storage?
Goals: To expedite the loading time
BE: FIrebase
Goals: To expedite the loading time
BE: FIrebase
6 Replies
you should check the auth serverside. That will reduce the time for the fetch (also because of the cache) and effectivly fetch faster ðŸ‘
@Finnish Spitz solved?
@B33fb0n3 <@773801427544965143> solved?
Finnish SpitzOP
@Siberian what if i am using seeverless like firebase?
@Finnish Spitz <@1116574113666969660> what if i am using seeverless like firebase?
Then you can do the same thing
@Finnish Spitz solved?
@Finnish Spitz ?