Proper fix for missing React.