Expected ‘this’ to be used by class method
you should bind the function to this as the ESLint error says “Expected ‘this’ to be used by class method ‘getUrlParams’ as you are not using getUrlParams during render (like onClick()) so the above technique is good which we can call it “usage of arrow function in class property”. there are other ways of binding … Read more