I think they have introduced a new standard 'globalThis' to be a cross node solution in ES2020
yes :D That's what I was trying to say in this post.
Yea but since a lot of frameworks and libraries are encouraging us to move to functional paradigm we might not use it in future.Nonetheless it is still a good concept to keep in mind.
Yeah but internal stuff in the frameworks and in specific cases you will need to use it :)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think they have introduced a new standard 'globalThis' to be a cross node solution in ES2020
yes :D
That's what I was trying to say in this post.
Yea but since a lot of frameworks and libraries are encouraging us to move to functional paradigm we might not use it in future.Nonetheless it is still a good concept to keep in mind.
Yeah but internal stuff in the frameworks and in specific cases you will need to use it :)