Open rwjblue opened 8 years ago
From Fastboot documentation https://ember-fastboot.com/docs/user-guide :
In FastBoot, we do not invoke either didInsertElement or willInsertElement hooks. If your components have any direct DOM manipulation you would do it in those hooks.
FastBoot calls the init, didReceiveAttrs, didUpdateAttrs, willRender and willUpdate hooks. Any code in these hooks will be run inside of FastBoot and should be free of references to browser APIs or DOM manipulation.
Add information to the guides (likely in The Component Lifecycle) that explains the concept that all DOM interaction should be focused in specific hooks and that those hooks are not ran in FastBoot.
This is a guide specific issue for the work discussed in https://github.com/emberjs/ember.js/issues/14235.