As you says, *rxSubscrive and *ngFor or other structural directives cannot be at the same place. I recommend adding <ng-container *rxSubscribe> at the root for subscribing to a stream.
<ng-container *rxSubscribe="state$; let state">
...sync-full template...
</ng-container>
👨🏫 Co-Founder of This is Learning, Organizer of AarhusJS
✍️ Writer, Speaker, FOSS Maintainer 📗 Author
🏆 Microsoft MVP 🌟 GitHub Star
🌊 Nx Champion 🦸 Angular Hero of Education
Thank you Lars! Yes, I'd love to!
As you says,
*rxSubscrive
and*ngFor
or other structural directives cannot be at the same place. I recommend adding<ng-container *rxSubscribe>
at the root for subscribing to a stream.Come to our Slack workspace, and Max will set you up on the new site 🙌
I think it would be useful to show an example with a for loop such as:
Did you consider supporting microsyntax? Something like
Maybe even