#Comprehensive Introduction to @ngrx/store By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
#Comprehensive Introduction to @ngrx/store By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
| import { Injectable } from '@angular/core'; | |
| import { | |
| Http, | |
| RequestOptions, | |
| RequestOptionsArgs, | |
| Response, | |
| ConnectionBackend | |
| } from '@angular/http'; | |
| import { Observable } from 'rxjs/Observable'; |
| SELECT pg_terminate_backend(pid) | |
| FROM pg_stat_activity | |
| WHERE datname = 'regress' | |
| AND pid <> pg_backend_pid() | |
| AND state = 'idle' | |
| AND state_change < current_timestamp - INTERVAL '1' MINUTE; |
| stats: { | |
| colors: true, | |
| hash: true, | |
| timings: true, | |
| chunks: true, | |
| chunkModules: false, | |
| children: false, | |
| modules: false, | |
| reasons: false, | |
| warnings: true, |
These rules are adopted from the AngularJS commit conventions.
1.) npm i -D webpack-defaults
2.) Add webpack-defualts to scripts
3.) Execute npm run webpack-defaults
Initial update checkpoint
./dist the files field for an existing repo is all but guaranteed to be wrong and require updating. This should be documented unless there is a way to migrate existing files settings to incorporate the dist output ( more trouble than it's worth imo)yarn-debug.log* needs to be ingored on update as well.These rules are adopted from the AngularJS commit conventions.
| npm test | gnomon -t elapsed-total -h 3 -m 1.5 |
| .type.storage,.type.storage.declaration, .storage.class.modifier { | |
| font-family: 'Operator Mono Book'; | |
| } | |
| .type.storage.arrow.function { | |
| font-family: 'Fira Code' | |
| } | |
| .token.keyword.operator { | |
| font-family: 'Fira Code' |