-
🔥 If you’re working with SSR React/Vue it’s handy to know if you’re in a client-JS context or not. This little snippet will return
trueif you’re in the browser andfalseif you’re on the server. andy-bell.design/notes/113/
true if you’re in the browser and false if you’re on the server.
andy-bell.design/notes/113/