Downside to calling getSession() in SvelteKit hooks?

Would there be any waterfalling or downsides to utilizing getSession() in hooks.server.ts in SvelteKit, and then passing down Session and User to locals?
Was this page helpful?