rxjs

서평 - RxJS 퀵스타트

[http://www.yes24.com/24/Goods/62601794?Acode=101] 읽은기간: 2018.8.1 ~ 2018.8.5 카테고리: 개발 서평 RxJS를 제대로 공부할 수 있는 책이 드디어 나왔다. RxJS를 단순히 라이브러리로 접근하다보면 몇 가지

forkJoin vs zip in RxJS

Promise.all() 과 비슷한 역할을 하는 RxJS Operator가 forkJoin과 zip 이 있다. 그런데 이 두가지의 차이가 있어서 공유한다. const interval$ = Observable.interval(1000); Observable.forkJoin(interval$.take(3)) .subscribe(result => console.log('forkJoin',

optimize bundling size

번들링 사이즈를 줄이는 방법은 크게 두가지 이다. 하나는 LazyLoading 다른 하나는 정말 사용하는 모듈만 import해서 사용하는 것이다. Code Splitting angular lazy module을 사용하면 module 단위로 번들링이 된다. 보통 페이지 단위로 lazy module을 설정하기