• Home
  • Blog
  • Projects
  • Links
  • Search /
Hi! I’m ZanderStylised (pixellated) picture of Zander, I make web apps

⚛SSR

6 Sept 2020
react

Use this to check if window is defined

const windowGlobal = typeof window !== 'undefined' && window

Useful libraries when working with SSR:

  • https://github.com/react-corekit/use-where
> cd ..
I'm available for work right now.
Get in touch
  • CV/Resume
  • Code Notes
  • Feeds
  • Colophon
  • Now
  • Uses
  • Zed Stack
  • Lab
  • GitHub
  • Bluesky
  • ASCII mode

© 2026 Zander Martineau • #cb09ef2 • This site is always under construction. 🚧

This site comes in four flavours.

  • Website The ordinary site. You are here.
  • Desktop Windows, a menu bar and Spotlight, like an old Mac.
  • Terminal Keyboard only. Arrow keys, Enter and Esc.
  • Plain text No stylesheets. Just the browser defaults.