Replies: 2 comments
-
"Deno" in globalThis |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kitsonk
-
OK so today I learned that you can do react in deno. I'm impressed!! [Rocket emoji] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can we tell if we are on the server or in the browser? In the Node world, we mostly just use the lack of a
window
object. But of course Deno has this object. What's a great, fool-proof way to tell in Deno?I'm asking because I'm using Deno + SSR and would like to avoid the React useLayoutEffect warning like I'm getting when using Zustand: pmndrs/zustand#347 in Aleph: alephjs/aleph.js#221
Beta Was this translation helpful? Give feedback.
All reactions