Closed davidpodhola closed 7 years ago
Hi, you need to import MobxAngularModule in SharedModule, not AppModule, and then export it as well so it's available throughout the app:
@NgModule({
imports: [
...
MobxAngularModule
],
...
exports: [
...
MobxAngularModule
]
})
export class SharedModule {}
Perfect, thanks a lot!
I must be missing something obvious and I know I use this issue selfishly to get help.
If I add
*mobxAutorun
on the top oftags.component.html
, the whole component is not rendered. If I remove it, it is rendered on the bottom of the page, but the the code reflecting to thecommonStore.isLoadingTags
is not processed correctly.Thanks for your suggestions!