Would this break reactivity?
I'm new to signals. The solidstart tutorial mentioned that destructuring may break reactivity in components. I don't fully understand that just yet and wonder if that means the following hook would break reactivity. This is a convenience hook I'm writing to simplify usage of the
If it can potentially break reactivty, how would you suggest accomplishing the goal of unpacking the
better-auth useSession hook.If it can potentially break reactivty, how would you suggest accomplishing the goal of unpacking the
data field into user and session?