haerinn
haerinn
SSolidJS
Created by haerinn on 1/10/2025 in #support
How to ideally protecting routes with Layout
Thank you for making it more clear with the better understanding. Unfortuntly i've tried and because im using getSession() from @auth/core/.. , so didnt really get the benefit from the locals. ( Might be using the useSession() from vinxi soon ). I already used the "no" wrapper query authorize(), but for testing purpose i found interesting case (for me) when calling both getPostById() & getPosts() with the query (🧙‍♂️) idea at the same time, the log run once n that feels strange. But i got the point, sorry too much editing (my bad)
4 replies