Kris Guzman
1 min readJun 15, 2019

--

Ah, I see. It’s still not react, however. window is the global object in a browser, so we don’t have to reference it directly. It’s just a feature of JavaScript in a browser environment (in node, for example, this would not be accessible even with react)

--

--

Kris Guzman
Kris Guzman

Written by Kris Guzman

Front end developer. On a mission to explore the world & build amazing software. Connect with me on LinkedIn: https://www.linkedin.com/in/kristopher-guzman/

Responses (1)