Prevent client-side bailout by extracting client-only hooks and turning layouts into server components | saasbrowser.ai