#2315 : Use of React.createFactory in example basic/