Closed tamascsaba closed 8 years ago
@tamascsaba at first I'll create a component proxy which will be reusable across module loaders.
My main goals are to preserve instantiated dependencies as well as component's state. Initially the reloader will support only SystemJS, later I will add support for webpack through a configuration option.
@mgechev it sounds good, :+1: thx
angular2-hot-loader only compatible with systemjs, but most developer use browserify or webpack.
Like: https://github.com/gaearon/react-transform-hmr which a React Transform that enables hot reloading React classes using Hot Module Replacement API. Hot module replacement is supported natively by Webpack and available in Browserify with browserify-hmr.
Webpack API