Issue
I am new to NgRx and I have being learning for the past week.
So, I was trying to check the Push Pipe and let directive.
According to NgRx Documentation the installation of this guy would be using the following command:
yarn add github:ngrx/component-builds.git
My code is the following:
<ons-list-item expandable *ngFor="let user of users$ | ngrxPush">
<!-- code here -->
</ons-list-item>
Well after that I tried to find the module that I need to import to have this pipe. To have the async pipe i just need to import the CommonModule.
Any Idea what should I import to have this working? Looks like the documentation is not too clear in this part.
Solution
You have to import the ReactiveComponentModule
.
import { ReactiveComponentModule } from '@ngrx/component';
docs here
Answered By - timdeschryver
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.