NGRX question How do yo…

less than 1 minute read

NGRX question. How do you generate ngrx stuff? I’ve added root and feature state using nrwl ngrx schematics and it inserted all the stuff in +state folder. But if I use plain NGRX schematics to generate action, for instance, it doesn’t add it there, so I’d have to move it manually. Also, architectural question. I have auth module, where I have auth service, guards, interceptors, etc + Login page component. I’ve added NGRX feature state, which was called auth. Should I generate another set of actions/reducer/effects for a login page, or should I put all this stuff in action/reducer/effects file, which was generated for the feature?

Updated: