react-basic icon indicating copy to clipboard operation
react-basic copied to clipboard

Annotate with comments

Open gaearon opened this issue 8 years ago • 1 comments

This was a bit hard for me to read because of all the existing preconceptions about how React works.

As I read through this, I tried to annotate it with comments to help me (and maybe other people) understand what’s really going on here. Partial application with bind() makes it especially confusing due to “invisible” arguments you have to keep a track of.

Not sure if you’d like to take this but I gave it a try.

gaearon avatar May 05 '16 13:05 gaearon

Thanks @sebmarkbage and @gaearon. +1 for merging this.

vasanthk avatar Oct 16 '16 19:10 vasanthk