Show guard inside or outside component?
I have a session() getter that throws if called before sessionID is set:
For components that depend on this, what's the recommended Solid pattern?
A) Require the parent to wrap in <Show> outside, but can be missed any time in a future refactor.
B) Put the <Show> inside the component, making it safe to use anywhere.
Leaning B for safety / code readability, but curious if there's a reactivity/performance reason to prefer A, or a third option I'm missing?
For components that depend on this, what's the recommended Solid pattern?
A) Require the parent to wrap in <Show> outside, but can be missed any time in a future refactor.
B) Put the <Show> inside the component, making it safe to use anywhere.
Leaning B for safety / code readability, but curious if there's a reactivity/performance reason to prefer A, or a third option I'm missing?
