Replace global with globalThis (#42627)
`globalThis` is available since node12 which becomes a preferrence rather than `global`. Besides, in the client components like `next/image` or async hooks we should prefer to use `globalThis` since `global` isn't available in browser
Showing
Please
register
or
sign in
to comment