DEV Community

Discussion on: Typescript and React: Lambdas are forbidden?

Collapse
 
michaeljota profile image
Michael De Abreu

This a good warning and you should not disabled it. Handling good events its not simple in React. This have nothing to do with Typescript, but how React binds the event to the handler. You always should create a method to handle the event and bind your own this to that method.