using promisified renderComponent