This project is meant to provide a more seamless experience for using monoquery with an Angular project.
As it stands, this project provides two decorators:
MonoQuery
Meant to provide an easy way to declare main monoquery provider on which fragments are composed.Fragments
Makes it easier to declare fragments for a component and adds a data instance variable that you can subscribe to for the requested fragments.
Note: angular-monoquery
is not a requirement when using monoquery
with angular. I have been trying to think of a way to make the API less cumbersome. If you have any ideas leave an issue in the comments, otherwise, it is perfectly acceptable to just use monoquery directly and skip this package.