Chris-Adiante
[RESOLVED] Async Route vs Sync Route: Signatures are error-prone
Tried it out, refined it for my use case, implementing a definePage helper that already fetches my user session from the cookies and adds it to the context and voilá, everything works like a breeze and will keep me from making stupid mistakes.
Thanks again for the quick response. I think it would be good to introduce the defineRoute helper already with the initial examples in the docs for those hands-on readers like me.
7 replies