Implement react style component API for UI updates.
Merge pull request #1721 from Gozala/context-menu-2-component@1070952

Bug 1070952 - Implement react style component API for UI updates. r=@erikvold