Simple, but usable Async Component loader to be used with React-Hot-Loader.
The only one WORKING loader, specially designed for RHL workflow.
Usage
;const Component = ;
That is all. Component will be loaded and displayed. And not state will be lost on Hot Module Replacement.
Advanced Usage
;const Component = ;
Component API
Not HoC, but Component approach. Very usable for React-Hot-Loader, as long does not creates new or hidden components.
;const Component = <HotComponentLoader loader = import'./Component' ... />;
Read more about it on medium
Licence
MIT