react-basic
react-basic copied to clipboard
Annotate with 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.
Thanks @sebmarkbage and @gaearon. +1 for merging this.