Created by: saada
The props URL
, fetch
, location
, addEventListener
are available under the global window
object in the browser. This was previously unclear to linter plugins such as standardjs
. The solution is to either prepend all of those variables with window.*
OR destructure them from the window
object as shown in this commit.
Tested the code change locally and got no console or hot-reload errors.