React: Unexpected use of 'location';
Solution: Use window.location
instead of bare location
.
React: Unexpected use of 'location';
Solution: Use window.location
instead of bare location
.
thanks
why we have to access location object through window even window is global object , can anyone answer it ,it will help me and other as well --thank you.
Please did you get a response to this anywhere?
Thanks