Open ADR-Clizy opened 5 months ago
Thank you @ADR-Clizy for the proposal.
Let me translate your request in technical terms to facilitate the implementation:
StorageSync
should be setup in the application only on the add of @o3r/store-sync
@o3r/store-sync
should be installed only if it is part of a presetEffectsModule
, StoreModule
and the runtimeCheck
should be added to the application by the ng-add
of a package depending on NgRx.@o3r/application
and the registration of the basic devtools modules should per default and still be added by the ng-add
of @o3r/core
Context
I generated a basic web app with o3r/workspace:application where I only need a router inside of it.
In the app.config I saw this
Which include a lot of complexity with Reducer / LocalStorage etc...
Also in dev additionnal module :
Proposal
Maybe we want to have a cleaner default app with only router.
I cleaned up everything and finish with this :
In my point of view, it avoid to much complexity. As a beginner using this framework, it's more comfortable :)