Fixing renderComponent

It should return a descriptor, not be void.
Adding ReactAttributes

These were missing before
Merge pull request #2920 from Asana/react-fixes

React fixes