Overview
The ember-ast-hot-load npm package is an addon for Ember.js that allows for hot-reloading of changed components without the need to reload the entire application. It is a continuation of the ember-cli-hot-loader project and includes part of its codebase. This addon is compatible with ember-cli versions 2.15.1 and above.
Features
- Tagless components: Supported by both ember-ast-hot-load and ember-cli-hot-loader.
- Glimmer components: Supported by ember-ast-hot-load but not by ember-cli-hot-loader.
- Classic route templates: Supported by both ember-ast-hot-load and ember-cli-hot-loader.
- MU (module unification) route templates: Supported by both ember-ast-hot-load and ember-cli-hot-loader.
- Reducers reloading: Supported by ember-cli-hot-loader but not by ember-ast-hot-load.
- Performance impact: Low for ember-ast-hot-load and moderate for ember-cli-hot-loader.
- TypeScript support: Supported by both ember-ast-hot-load and ember-cli-hot-loader.
- Nested components: Supported by both ember-ast-hot-load and ember-cli-hot-loader.
- Code limitations: More limitations with ember-cli-hot-loader compared to ember-ast-hot-load.
- Ember 2.x compatibility: Unknown for ember-ast-hot-load and supported by ember-cli-hot-loader.
- Ember 3.4+ compatibility: Supported by ember-ast-hot-load and not supported by ember-cli-hot-loader.
- Fastboot support: Supported by ember-ast-hot-load and not supported by ember-cli-hot-loader.
- Sparkles components: Supported by ember-ast-hot-load and not supported by ember-cli-hot-loader.
- Hooked components: Supported by ember-ast-hot-load and not supported by ember-cli-hot-loader.
- Custom components: Supported by ember-ast-hot-load and not supported by ember-cli-hot-loader.
- Component wrappers: Supported by ember-cli-hot-loader and not supported by ember-ast-hot-load.
- AST (Abstract Syntax Tree) integration: Supported by ember-ast-hot-load and not supported by ember-cli-hot-loader.
- Resolver 5 support: Supported by ember-ast-hot-load and not supported by ember-cli-hot-loader.
- MU support: Supported by ember-ast-hot-load and not supported by ember-cli-hot-loader.
- Addons hot-reload: Supported by ember-ast-hot-load and not supported by ember-cli-hot-loader.
Summary
The ember-ast-hot-load npm package is an addon for Ember.js that allows for hot-reloading of changed components. It provides several features such as support for tagless components, glimmer components, classic and MU route templates, TypeScript, nested components, and more. It has a low performance impact and supports Ember.js v3.20 and above, Ember CLI v3.20 and above, and Node.js v10 and above. Installation is straightforward and the addon should work without requiring any additional configuration.