Simple package for http to https redirection for React base application.
Wrap your application in the component. Force redirection will only take place in production.
ReactDOM.render(
<HttpsRedirect>
....
</HttpsRedirect>,
document.getElementById('root')
);