How to detect if astro rendering happens in browser or on the server side?
Found no info in official reference and troubleshooting guide.
The only 'advice' I found is to use 'client:only'.
UPDATE Solution found
export const isCLientSide = typeof window !== 'undefined'