Wraps a react component in a proxy component to enable Hot Module Replacement and Code Splitting.