charleslbryant
Hello React and TypeScript

Updated 3 years ago

Ronny Hanssen (@spiralis) started discussion #10

3 years ago · 0 comments

Open

Without the arrow function we would use JavaScripts bind method to achieve the same effect. The arrow function is just some syntactic sugar for

Component Interactivity (Edit this file)

Except that bind(), when put in the render will execute each time, and thus rebind. Therefor better to run bind in constructor. Or - just use arrow function instead, as suggested.

No description provided.

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant