What are the react api rules for React's this ?
I am asking this because I am trying to understand this code:
Where it is written:
* Here we break React's `this` into tiny little bits, then stitch them together to use type-safety to enforce the
* rules documented in the React API.
What kind of rules do they refer to ? Where can I read those rules ?
This is the closest thing that google gives:
https://facebook.github.io/react/docs/top-level-api.html
Are the rules here somewhere ?
Or is it this ?