3 ms·
Definitely not "a lot" - searching the existing docs, I see a mention in the FAQ at https://reactjs.org/docs/faq-functions.html#how-do-i-bind-a-function-to-a-co
by acemarke 4y ago
Definitely not "a lot" - searching the existing docs, I see a mention in the FAQ at https://reactjs.org/docs/faq-functions.html#how-do-i-bind-a-function-to-a-component-instance https://reactjs.org/docs/faq-functions.html#how-do-i-bind-a-... , but not really elsewhere.
Also, the new React beta docs at https://beta.reactjs.org https://beta.reactjs.org teach function components rather than classes, and thus there's no use of `.bind()` at all.