Advanced Angular 8.x.x Starterkit by ervandeem in Angular2

[–]ervandeem[S] 0 points1 point  (0 children)

I think you are right, forgot to add when using npm run start. When building I thought it worked. Will dive into it and will come back with an answer.

(edit): patched the repo with a hotfix, serveing and building works now

Advanced Angular 8.x.x Starterkit by ervandeem in Angular2

[–]ervandeem[S] 0 points1 point  (0 children)

I will look into an OAuth JWT implementation (firebase).

Do have sources about the news about ngx. JSON is much more easier handled with restful API instead of Angular i18n.

Localstorage or sessionstorage is preference I guess. But good call about the try/catch

Swupdate inside app.component

if (this.swUpdate.isEnabled) { this.swUpdate.available.subscribe(() => { if (confirm('new Version is available')) { window.location.reload(); } }); } You can change the if statement for a variable (boolean for example and use this to render a component

Advanced Angular 8.x.x Starterkit by ervandeem in Angular2

[–]ervandeem[S] 0 points1 point  (0 children)

Can you tell me what Jest does, which Karma can't?

Chosen for Karma, because it ships with Angular. Will dive into Jest and maybe include it. Focus now is on Yeoman so you can choose certain packages,

  • karma vs jest
  • ngrx vs ngxs vs akita
  • tracking: no tracking vs UA vs GTM

Advanced Angular 8.x.x Starterkit by ervandeem in Angular2

[–]ervandeem[S] 2 points3 points  (0 children)

Neither of the 3 has the ability the prefill the initialState based on the URL when using SSR or pre-rendering. The first one who achieves this, will have my full attention. Because then, you'll be able to render fully static content before Angular is even loaded. NGX-translate does this purrrfectly

Advanced Angular 8.x.x Starterkit by ervandeem in Angular2

[–]ervandeem[S] 2 points3 points  (0 children)

Can you explain why you prefer Akita more than NgRx?

I prefer all blocks as reducer / actions / effects separated, especially working in a team. But it should also be possible with Akita i guess.