use React.createElement instead of React.DOM
show preloader only while pending or loading