Why split api and impl module in all feature modules? Is there a better solution?
#2009
Replies: 2 comments 2 replies
-
This will create a bottleneck that we want to avoid, especially in large multi-module codebases. Specifically, every time you will change/add/remove a route, almost the entire project will get invalidated because all features depend on this central Having api/impl split allows us to only invalidate impacted modules. |
Beta Was this translation helpful? Give feedback.
-
|
Another suggestions, the reason of split |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It is as though generating boilerplate code in all
feature modules.I suggest that making a
core:routemodule that contains all route data classes, and allfeature moduleshave dependency tocore:routemodule.I think this approach doesn't need to split
apiandimplmodule in feature modules.What do you think about my approach?
@dturner and everyone in here?
Beta Was this translation helpful? Give feedback.
All reactions