From 967879d9000383d7d68eec63d6d6d01a34e4743f Mon Sep 17 00:00:00 2001 From: Bruno Ladeia Date: Fri, 12 Jan 2024 16:25:59 -0300 Subject: [PATCH 01/11] fix: broken links for combination operators Add repeatWhen to summary (I believe this is why it doesn't shows in side menu) Updates 2 Introduction links --- README.md | 4 ++-- SUMMARY.md | 1 + operators/combination/combineall.md | 2 +- operators/combination/combinelatest.md | 10 +++++----- operators/combination/concat.md | 4 ++-- operators/combination/concatall.md | 4 ++-- operators/combination/endwith.md | 2 +- operators/combination/forkjoin.md | 8 ++++---- operators/combination/merge.md | 8 ++++---- operators/combination/mergeall.md | 4 ++-- operators/combination/pairwise.md | 2 +- operators/combination/race.md | 6 +++--- operators/combination/startwith.md | 4 ++-- operators/combination/withlatestfrom.md | 4 ++-- operators/combination/zip.md | 6 +++--- operators/error_handling/retrywhen.md | 4 ++-- 16 files changed, 37 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index cf1a1c70..8a30d0f8 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ site, these excellent resources will help jump start your learning experience! #### Conferences -- [RxJS Live](https://www.rxjs.live/) - RxJS specific conference +- [RxJS Live](https://www.youtube.com/@rxjslive2237) - RxJS specific conference #### Reading @@ -138,7 +138,7 @@ site, these excellent resources will help jump start your learning experience! - [Ultimate RxJS](https://ultimatecourses.com/courses/rxjs?ref=4) πŸ’΅ - Brian Troncone -- [Asynchronous Programming: The End of The Loop](https://egghead.io/courses/mastering-asynchronous-programming-the-end-of-the-loop) - +- [Asynchronous Programming: The End of The Loop](https://egghead.io/courses/asynchronous-programming-the-end-of-the-loop) - Jafar Husain - [What is RxJS?](https://egghead.io/lessons/rxjs-what-is-rxjs) - Ben Lesh diff --git a/SUMMARY.md b/SUMMARY.md index a03aaa9d..1f87f357 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -105,6 +105,7 @@ - [finalize / finally](operators/utility/finalize.md) - [let](operators/utility/let.md) - [repeat](operators/utility/repeat.md) + - [repeatWhen](operators/utility/repeatwhen.md) - [timeInterval](operators/utility/timeinterval.md) - [timeout](operators/utility/timeout.md) - [timeoutWith](operators/utility/timeoutwith.md) diff --git a/operators/combination/combineall.md b/operators/combination/combineall.md index 23a10f6c..7575c6c4 100644 --- a/operators/combination/combineall.md +++ b/operators/combination/combineall.md @@ -62,4 +62,4 @@ example$ --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/combineAll.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/combineAll.ts) +> [https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/operators/combineAll.ts](https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/operators/combineAll.ts) diff --git a/operators/combination/combinelatest.md b/operators/combination/combinelatest.md index 6e14861d..f27fd049 100644 --- a/operators/combination/combinelatest.md +++ b/operators/combination/combinelatest.md @@ -18,7 +18,7 @@ rely on each other for some calculation or determination. Basic examples of this can be seen in [example three](#example-3-combining-events-from-2-buttons), where events from multiple buttons are being combined to produce a count of each and an overall total, or a -[calculation of BMI](http://reactivex.io/rxjs/class/es6/Observable.js~Observable.html#instance-method-combineLatest) +[calculation of BMI](https://rxjs-dev.firebaseapp.com/api/index/function/combineLatest#examples) from the RxJS documentation. Be aware that **`combineLatest` will not emit an initial value until each @@ -157,15 +157,15 @@ combineLatest(addOneClick$('red'), addOneClick$('black')).subscribe( - [combineLatest](https://rxjs.dev/api/index/function/combineLatest) πŸ“° - Official docs -- [combineLatest](https://indepth.dev/reference/rxjs/operators/combine-latest) - In Depth Dev Reference +- [combineLatest](https://web.archive.org/web/20230529225628/https://indepth.dev/reference/rxjs/operators/combine-latest) - In Depth Dev Reference - [Combining streams with combineLatest](https://egghead.io/lessons/rxjs-combining-streams-with-combinelatest?course=step-by-step-async-javascript-with-rxjs) πŸŽ₯ πŸ’΅ - John Linquist - [Combination operator: combineLatest](https://egghead.io/lessons/rxjs-combination-operator-combinelatest?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz -- [Build your own combineLatest operator](https://blog.strongbrew.io/build-the-operators-from-rxjs-from-scratch/?lectureId=combineLatest#app) - πŸŽ₯ - Kwinten Pisman +- [Build your own combineLatest operator](https://github.com/KwintenP/rxjs-operators-from-scratch/blob/master/src/observable/combineLatest.ts) + πŸ“ - Kwinten Pisman --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/combineLatest.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/combineLatest.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/combineLatest.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/combineLatest.ts) diff --git a/operators/combination/concat.md b/operators/combination/concat.md index 00dbf763..a0781549 100644 --- a/operators/combination/concat.md +++ b/operators/combination/concat.md @@ -98,11 +98,11 @@ concat(interval(1000), of('This', 'Never', 'Runs')) ### Additional Resources - [concat](https://rxjs.dev/api/index/function/concat) πŸ“° - Official docs -- [concat](https://indepth.dev/reference/rxjs/operators/concat) - In Depth Dev Reference +- [concat](https://web.archive.org/web/20230529215358/https://indepth.dev/reference/rxjs/operators/concat) - In Depth Dev Reference - [Combination operator: concat, startWith](https://egghead.io/lessons/rxjs-combination-operators-concat-startwith?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/concat.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/concat.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/concat.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/concat.ts) diff --git a/operators/combination/concatall.md b/operators/combination/concatall.md index 979d0010..bf1c0fa2 100644 --- a/operators/combination/concatall.md +++ b/operators/combination/concatall.md @@ -122,11 +122,11 @@ const subscribe = example.subscribe(val => console.log(val)); ### Additional Resources - [concatAll](https://rxjs.dev/api/operators/concatAll) πŸ“° - Official docs -- [concatAll](https://indepth.dev/reference/rxjs/operators/concat-all) - In Depth Dev Reference +- [concatAll](https://web.archive.org/web/20230127105516/https://indepth.dev/reference/rxjs/operators/concat-all) - In Depth Dev Reference - [Flatten a higher order observable with concatAll in RxJS](https://egghead.io/lessons/rxjs-flatten-a-higher-order-observable-with-concatall-in-rxjs?course=use-higher-order-observables-in-rxjs-effectively) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/concatAll.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/concatAll.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/concatAll.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/concatAll.ts) diff --git a/operators/combination/endwith.md b/operators/combination/endwith.md index bb802c4c..73863acf 100644 --- a/operators/combination/endwith.md +++ b/operators/combination/endwith.md @@ -97,4 +97,4 @@ source$ --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/endWith.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/endWith.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/endWith.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/endWith.ts) diff --git a/operators/combination/forkjoin.md b/operators/combination/forkjoin.md index 01b10bce..92277b6c 100644 --- a/operators/combination/forkjoin.md +++ b/operators/combination/forkjoin.md @@ -25,9 +25,9 @@ similar to how you might use Be aware that if any of the inner observables supplied to `forkJoin` error you will lose the value of any other observables that would or have already completed if you do not [`catch`](../error_handling/catch.md) the -[error correctly on the inner observable](#example-4-getting-successful-results-when-one-innner-observable-errors). +[error correctly on the inner observable](#example-5-getting-successful-results-when-one-inner-observable-errors). If you are only concerned with all inner observables completing successfully you -can [catch the error on the outside](#example-3-handling-errors-on-outside). +can [catch the error on the outside](#example-4-handling-errors-on-outside). It's also worth noting that if you have an observable that emits more than one item, and you are concerned with the previous emissions `forkJoin` is not the @@ -254,9 +254,9 @@ export class App { ### Additional Resources - [forkJoin](https://rxjs.dev/api/index/function/forkJoin) πŸ“° - Official docs -- [forkJoin](https://indepth.dev/reference/rxjs/operators/fork-join) - In Depth Dev Reference +- [forkJoin](https://web.archive.org/web/20220810205148/https://indepth.dev/reference/rxjs/operators/fork-join) - In Depth Dev Reference --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/forkJoin.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/forkJoin.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/forkJoin.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/forkJoin.ts) diff --git a/operators/combination/merge.md b/operators/combination/merge.md index 20340152..31b8d625 100644 --- a/operators/combination/merge.md +++ b/operators/combination/merge.md @@ -92,17 +92,17 @@ const subscribe = example.subscribe(val => console.log(val)); ### Additional Resources - [merge](https://rxjs.dev/api/index/function/merge) πŸ“° - Official docs -- [merge](https://indepth.dev/reference/rxjs/operators/merge) - In Depth Dev Reference +- [merge](https://web.archive.org/web/20230608174759/https://indepth.dev/reference/rxjs/operators/merge) - In Depth Dev Reference - [Handling multiple streams with merge](https://egghead.io/lessons/rxjs-handling-multiple-streams-with-merge?course=step-by-step-async-javascript-with-rxjs) πŸŽ₯ πŸ’΅ - John Linquist - [Sharing network requests with merge](https://egghead.io/lessons/rxjs-reactive-programming-sharing-network-requests-with-rxjs-merge?course=introduction-to-reactive-programming) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz - [Combination operator: merge](https://egghead.io/lessons/rxjs-combination-operator-merge?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz -- [Build your own merge operator](https://blog.strongbrew.io/build-the-operators-from-rxjs-from-scratch/?lectureId=merge#app) - πŸŽ₯ - Kwinten Pisman +- [Build your own merge operator](https://github.com/KwintenP/rxjs-operators-from-scratch/blob/master/src/observable/merge.ts) + πŸ“ - Kwinten Pisman --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/merge.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/merge.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/merge.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/merge.ts) diff --git a/operators/combination/mergeall.md b/operators/combination/mergeall.md index eb042c10..df5f8c31 100644 --- a/operators/combination/mergeall.md +++ b/operators/combination/mergeall.md @@ -99,11 +99,11 @@ const example = source ### Additional Resources - [mergeAll](https://rxjs.dev/api/operators/mergeAll) πŸ“° - Official docs -- [mergeAll](https://indepth.dev/reference/rxjs/operators/merge-all) - In Depth Dev Reference +- [mergeAll](https://web.archive.org/web/20230127122030/https://indepth.dev/reference/rxjs/operators/merge-all) - In Depth Dev Reference - [Flatten a higher order observable with mergeAll in RxJS](https://egghead.io/lessons/rxjs-flatten-a-higher-order-observable-with-mergeall-in-rxjs?course=use-higher-order-observables-in-rxjs-effectively) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/mergeAll.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/mergeAll.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/mergeAll.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/mergeAll.ts) diff --git a/operators/combination/pairwise.md b/operators/combination/pairwise.md index f9f82afb..9536c7fe 100644 --- a/operators/combination/pairwise.md +++ b/operators/combination/pairwise.md @@ -40,4 +40,4 @@ interval(1000) --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/pairwise.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/pairwise.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/pairwise.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/pairwise.ts) diff --git a/operators/combination/race.md b/operators/combination/race.md index a07e81c2..30704951 100644 --- a/operators/combination/race.md +++ b/operators/combination/race.md @@ -71,10 +71,10 @@ race(first, second, third).subscribe(val => console.log(val)); ### Additional Resources -- [race](http://reactivex.io/rxjs/class/es6/Observable.js~Observable.html#instance-method-race) πŸ“° - Official docs -- [race](https://indepth.dev/reference/rxjs/operators/race) - In Depth Dev Reference +- [race](https://rxjs-dev.firebaseapp.com/api/index/function/race) πŸ“° - Official docs +- [race](https://web.archive.org/web/20220930042726/https://indepth.dev/reference/rxjs/operators/race) - In Depth Dev Reference --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/race.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/race.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/race.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/race.ts) diff --git a/operators/combination/startwith.md b/operators/combination/startwith.md index be552307..961fbd80 100644 --- a/operators/combination/startwith.md +++ b/operators/combination/startwith.md @@ -7,7 +7,7 @@ --- πŸ’‘ A -[BehaviorSubject](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/subjects/behaviorsubject.md) +[BehaviorSubject](https://rxjs.dev/guide/subject#behaviorsubject) can also start with an initial value! --- @@ -122,4 +122,4 @@ const subscribe = example.subscribe(val => console.log(val)); --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/startWith.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/startWith.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/startWith.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/startWith.ts) diff --git a/operators/combination/withlatestfrom.md b/operators/combination/withlatestfrom.md index f12e02f6..43ef1655 100644 --- a/operators/combination/withlatestfrom.md +++ b/operators/combination/withlatestfrom.md @@ -99,11 +99,11 @@ const subscribe = example.subscribe(val => console.log(val)); - [withLatestFrom](https://rxjs.dev/api/operators/withLatestFrom) πŸ“° - Official docs -- [withLatestFrom](https://indepth.dev/reference/rxjs/operators/with-latest-from) - In Depth Dev Reference +- [withLatestFrom](https://web.archive.org/web/20230529223221/https://indepth.dev/reference/rxjs/operators/with-latest-from) - In Depth Dev Reference - [Combination operator: withLatestFrom](https://egghead.io/lessons/rxjs-combination-operator-withlatestfrom?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/withLatestFrom.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/withLatestFrom.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/withLatestFrom.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/withLatestFrom.ts) diff --git a/operators/combination/zip.md b/operators/combination/zip.md index c4658be4..da1ca8fd 100644 --- a/operators/combination/zip.md +++ b/operators/combination/zip.md @@ -115,13 +115,13 @@ mouseClickDuration.subscribe(console.log); ### Additional Resources -- [zip](http://reactivex.io/rxjs/class/es6/Observable.js~Observable.html#static-method-zip) +- [zip](https://rxjs-dev.firebaseapp.com/api/index/function/zip) πŸ“° - Official docs -- [zip](https://indepth.dev/reference/rxjs/operators/zip) - In Depth Dev Reference +- [zip](https://web.archive.org/web/20230529222132/https://indepth.dev/reference/rxjs/operators/zip) - In Depth Dev Reference - [Combination operator: zip](https://egghead.io/lessons/rxjs-combination-operator-zip?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/zip.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/zip.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/zip.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/zip.ts) diff --git a/operators/error_handling/retrywhen.md b/operators/error_handling/retrywhen.md index 4cde404e..8ae42412 100644 --- a/operators/error_handling/retrywhen.md +++ b/operators/error_handling/retrywhen.md @@ -140,11 +140,11 @@ export class AppComponent implements OnInit { ### Additional Resources - [retryWhen](https://rxjs.dev/api/operators/retryWhen) πŸ“° - Official docs -- [retryWhen](https://indepth.dev/reference/rxjs/operators/retry-when) - In Depth Dev Reference +- [retryWhen](https://web.archive.org/web/20220626232923/https://indepth.dev/reference/rxjs/operators/retry-when) - In Depth Dev Reference - [Error handling operator: retry and retryWhen](https://egghead.io/lessons/rxjs-error-handling-operator-retry-and-retrywhen?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/retryWhen.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/retryWhen.ts) +> [https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/operators/retryWhen.ts](https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/operators/retryWhen.ts) From ba1a5463ea7538b18c2df26156909d41352d29a3 Mon Sep 17 00:00:00 2001 From: Bruno Ladeia Date: Fri, 12 Jan 2024 20:41:18 -0300 Subject: [PATCH 02/11] fix: broken links for conditional operators --- operators/conditional/defaultifempty.md | 5 ++--- operators/conditional/every.md | 2 +- operators/conditional/iif.md | 2 +- operators/conditional/sequenceequal.md | 5 ++--- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/operators/conditional/defaultifempty.md b/operators/conditional/defaultifempty.md index 5c3afac2..52ea3161 100644 --- a/operators/conditional/defaultifempty.md +++ b/operators/conditional/defaultifempty.md @@ -46,10 +46,9 @@ const subscribe = example.subscribe(val => console.log(val)); ### Additional Resources -- [defaultIfEmpty](https://rxjs.dev/api/operators/defaultIfEmpty) πŸ“° - Official - docs +- [defaultIfEmpty](https://rxjs.dev/api/operators/defaultIfEmpty) πŸ“° - Official docs --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/defaultIfEmpty.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/defaultIfEmpty.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/defaultIfEmpty.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/defaultIfEmpty.ts) diff --git a/operators/conditional/every.md b/operators/conditional/every.md index 4673662a..c6474123 100644 --- a/operators/conditional/every.md +++ b/operators/conditional/every.md @@ -91,4 +91,4 @@ apiCalls$.subscribe(); --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/every.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/every.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/every.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/every.ts) diff --git a/operators/conditional/iif.md b/operators/conditional/iif.md index 2a7235dd..14d533ab 100644 --- a/operators/conditional/iif.md +++ b/operators/conditional/iif.md @@ -89,4 +89,4 @@ interval(1000) --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/iif.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/iif.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/iif.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/iif.ts) diff --git a/operators/conditional/sequenceequal.md b/operators/conditional/sequenceequal.md index 9be36337..1f1d9e10 100644 --- a/operators/conditional/sequenceequal.md +++ b/operators/conditional/sequenceequal.md @@ -64,10 +64,9 @@ fromEvent(document, 'keydown') ### Additional Resources -- [sequenceEqual](https://rxjs.dev/api/operators/sequenceEqual) πŸ“° - Official - docs +- [sequenceEqual](https://rxjs.dev/api/operators/sequenceEqual) πŸ“° - Official docs --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/sequenceEqual.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/sequenceEqual.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/sequenceEqual.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/sequenceEqual.ts) From 63d4f318944dd5e70eafb48343831cd1de38ab8d Mon Sep 17 00:00:00 2001 From: Bruno Ladeia Date: Sat, 13 Jan 2024 08:59:22 -0300 Subject: [PATCH 03/11] fix: broken links for creation operators Also renames **throw** to **throwError** and updates references in book --- SUMMARY.md | 2 +- operators/README.md | 2 +- operators/complete.md | 2 +- operators/creation/README.md | 2 +- operators/creation/ajax.md | 2 +- operators/creation/create.md | 11 ++++------- operators/creation/defer.md | 2 +- operators/creation/empty.md | 2 +- operators/creation/from.md | 4 ++-- operators/creation/fromevent.md | 2 +- operators/creation/generate.md | 2 +- operators/creation/interval.md | 6 +++--- operators/creation/of.md | 8 ++++---- operators/creation/range.md | 2 +- operators/creation/{throw.md => throwError.md} | 10 +++++----- operators/creation/timer.md | 6 +++--- 16 files changed, 31 insertions(+), 34 deletions(-) rename operators/creation/{throw.md => throwError.md} (68%) diff --git a/SUMMARY.md b/SUMMARY.md index 1f87f357..0ab122f6 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -35,7 +35,7 @@ - [interval](operators/creation/interval.md) - [of](operators/creation/of.md) - [range](operators/creation/range.md) - - [throw](operators/creation/throw.md) + - [throwError](operators/creation/throwError.md) - [timer](operators/creation/timer.md) - [Error Handling](operators/error_handling/README.md) - [catch / catchError](operators/error_handling/catch.md) diff --git a/operators/README.md b/operators/README.md index 5f49793a..32a49a87 100644 --- a/operators/README.md +++ b/operators/README.md @@ -37,7 +37,7 @@ _[Prefer a complete list in alphabetical order?](complete.md)_ - [interval](creation/interval.md) - [of](creation/of.md) ⭐ - [range](creation/range.md) - - [throw](creation/throw.md) + - [throwError](creation/throwError.md) - [timer](creation/timer.md) - [Error Handling](error_handling/README.md) - [catch / catchError](error_handling/catch.md) ⭐ diff --git a/operators/complete.md b/operators/complete.md index abc74bb6..1cb5f0c1 100644 --- a/operators/complete.md +++ b/operators/complete.md @@ -87,7 +87,7 @@ _[Prefer a split by operator type?](README.md)_ - [takeWhile](filtering/takewhile.md) - [throttle](filtering/throttle.md) - [throttleTime](filtering/throttletime.md) -- [throw](creation/throw.md) +- [throwError](creation/throwError.md) - [timeInterval](utility/timeinterval.md) - [timeout](utility/timeout.md) - [timeoutWith](utility/timeoutwith.md) diff --git a/operators/creation/README.md b/operators/creation/README.md index f7f9d42a..8f8d4f50 100644 --- a/operators/creation/README.md +++ b/operators/creation/README.md @@ -16,7 +16,7 @@ generic to specific use-cases you are free, and encouraged, to turn - [interval](interval.md) - [of](of.md) ⭐ - [range](range.md) -- [throw](throw.md) +- [throwError](throwError.md) - [timer](timer.md) ⭐ - _commonly used_ diff --git a/operators/creation/ajax.md b/operators/creation/ajax.md index 06e6c6fe..3952f18d 100644 --- a/operators/creation/ajax.md +++ b/operators/creation/ajax.md @@ -164,4 +164,4 @@ const subscribe = users.subscribe( --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/6.4.0/src/internal/observable/dom/ajax.ts#L20-L19](https://github.com/ReactiveX/rxjs/blob/6.4.0/src/internal/observable/dom/ajax.ts#L20-L19) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/ajax/ajax.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/ajax/ajax.ts) diff --git a/operators/creation/create.md b/operators/creation/create.md index 0237a491..a79e70d0 100644 --- a/operators/creation/create.md +++ b/operators/creation/create.md @@ -67,14 +67,11 @@ setTimeout(() => { ### Additional Resources -- [create](http://reactivex.io/rxjs/class/es6/Observable.js~Observable.html#static-method-create) - πŸ“° - Official docs -- [Creation operators: Create()](https://egghead.io/lessons/rxjs-creation-operator-create?course=rxjs-beyond-the-basics-creating-observables-from-scratch) - πŸŽ₯ πŸ’΅ - AndrΓ© Staltz -- [Using Observable.create for fine-grained control](https://egghead.io/lessons/rxjs-using-observable-create-for-fine-grained-control) - πŸŽ₯ πŸ’΅ - Shane Osbourne +- [create](http://reactivex.io/rxjs/class/es6/Observable.js~Observable.html#static-method-create) πŸ“° - Official docs +- [Creation operators: Create()](https://egghead.io/lessons/rxjs-creation-operator-create?course=rxjs-beyond-the-basics-creating-observables-from-scratch) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz +- [Using Observable.create for fine-grained control](https://egghead.io/lessons/rxjs-using-observable-create-for-fine-grained-control) πŸŽ₯ πŸ’΅ - Shane Osbourne --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/GenerateObservable.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/GenerateObservable.ts) +> [https://github.com/ReactiveX/rxjs/blob/6.6.7/compat/observable/GenerateObservable.ts](https://github.com/ReactiveX/rxjs/blob/6.6.7/compat/observable/GenerateObservable.ts) diff --git a/operators/creation/defer.md b/operators/creation/defer.md index a9df47ea..b3ef057c 100644 --- a/operators/creation/defer.md +++ b/operators/creation/defer.md @@ -62,4 +62,4 @@ setTimeout(() => { --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/defer.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/defer.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/defer.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/defer.ts) diff --git a/operators/creation/empty.md b/operators/creation/empty.md index ed122dfc..04864002 100644 --- a/operators/creation/empty.md +++ b/operators/creation/empty.md @@ -71,4 +71,4 @@ const timer$ = merge(pause$, resume$) --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/EmptyObservable.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/EmptyObservable.ts) +> [https://github.com/ReactiveX/rxjs/blob/6.6.7/src/internal/observable/empty.ts](https://github.com/ReactiveX/rxjs/blob/6.6.7/src/internal/observable/empty.ts) diff --git a/operators/creation/from.md b/operators/creation/from.md index e0502c81..30fbfa0f 100644 --- a/operators/creation/from.md +++ b/operators/creation/from.md @@ -100,11 +100,11 @@ const subscribe = source.subscribe(val => console.log(val)); ### Additional Resources - [from](https://rxjs.dev/api/index/function/from) πŸ“° - Official docs -- [from](https://indepth.dev/reference/rxjs/operators/from) - In Depth Dev Reference +- [from](https://web.archive.org/web/20230529224510/https://indepth.dev/reference/rxjs/operators/from) - In Depth Dev Reference - [Creation operators: from, fromArray, fromPromise](https://egghead.io/lessons/rxjs-creation-operators-from-fromarray-frompromise?course=rxjs-beyond-the-basics-creating-observables-from-scratch) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/from.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/from.ts) +> [https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/observable/from.ts](https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/observable/from.ts) diff --git a/operators/creation/fromevent.md b/operators/creation/fromevent.md index 80830b8e..49a4c579 100644 --- a/operators/creation/fromevent.md +++ b/operators/creation/fromevent.md @@ -62,4 +62,4 @@ const subscribe = example.subscribe(val => console.log(val)); --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/fromEvent.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/fromEvent.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/fromEvent.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/fromEvent.ts) diff --git a/operators/creation/generate.md b/operators/creation/generate.md index d51675b1..b5cf083c 100644 --- a/operators/creation/generate.md +++ b/operators/creation/generate.md @@ -79,4 +79,4 @@ OUTPUT: --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/generate.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/generate.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/generate.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/generate.ts) diff --git a/operators/creation/interval.md b/operators/creation/interval.md index c6f0e08c..cf505069 100644 --- a/operators/creation/interval.md +++ b/operators/creation/interval.md @@ -47,10 +47,10 @@ const subscribe = source.subscribe(val => console.log(val)); - [interval](https://rxjs.dev/api/index/function/interval) πŸ“° - Official docs - [Creation operators: interval and timer](https://egghead.io/lessons/rxjs-creation-operators-interval-and-timer?course=rxjs-beyond-the-basics-creating-observables-from-scratch) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz -- [Build your own interval operator](https://blog.strongbrew.io/build-the-operators-from-rxjs-from-scratch/?lectureId=interval#app) - πŸŽ₯ - Kwinten Pisman +- [Build your own interval operator](https://github.com/KwintenP/rxjs-operators-from-scratch/blob/master/src/observable/interval.tsp) + πŸ“ - Kwinten Pisman --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/interval.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/interval.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/interval.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/interval.ts) diff --git a/operators/creation/of.md b/operators/creation/of.md index 4bb12ba2..075ca658 100644 --- a/operators/creation/of.md +++ b/operators/creation/of.md @@ -55,13 +55,13 @@ const subscribe = source.subscribe(val => console.log(val)); ### Additional Resources - [of](https://rxjs.dev/api/index/function/of) πŸ“° - Official docs -- [of](https://indepth.dev/reference/rxjs/operators/of) - In Depth Dev Reference +- [of](https://web.archive.org/web/20230329033647/https://indepth.dev/reference/rxjs/operators/of) - In Depth Dev Reference - [Creation operators: of](https://egghead.io/lessons/rxjs-creation-operator-of?course=rxjs-beyond-the-basics-creating-observables-from-scratch) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz -- [Build your own of operator](https://blog.strongbrew.io/build-the-operators-from-rxjs-from-scratch/?lectureId=of#app) - πŸŽ₯ - Kwinten Pisman +- [Build your own of operator](https://github.com/KwintenP/rxjs-operators-from-scratch/blob/master/src/observable/of.ts) + πŸ“ - Kwinten Pisman --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/of.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/of.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/of.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/of.ts) diff --git a/operators/creation/range.md b/operators/creation/range.md index fbdc3cc9..4aa5fb41 100644 --- a/operators/creation/range.md +++ b/operators/creation/range.md @@ -32,4 +32,4 @@ const example = source.subscribe(val => console.log(val)); --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/range.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/range.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/range.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/range.ts) diff --git a/operators/creation/throw.md b/operators/creation/throwError.md similarity index 68% rename from operators/creation/throw.md rename to operators/creation/throwError.md index 5e3c1379..3ad22ddd 100644 --- a/operators/creation/throw.md +++ b/operators/creation/throwError.md @@ -1,6 +1,6 @@ -# throw +# throwError -#### signature: `throw(error: any, scheduler: Scheduler): Observable` +#### signature: `throwError(errorOrErrorFactory: any, scheduler: SchedulerLike): Observable` ## Emit error on subscription. @@ -31,15 +31,15 @@ const subscribe = source.subscribe({ ### Related Examples -- [Throwing after 3 retries](../error_handling/retrywhen.md) +- [Throwing after 3 retries](../error_handling/retrywhen.md#example-2-customizable-retry-with-increased-duration) ### Additional Resources -- [throw](https://rxjs.dev/api/index/function/throw) πŸ“° - Official docs +- [throwError](https://rxjs.dev/api/index/function/throwError) πŸ“° - Official docs - [Creation operators: empty, never, and throw](https://egghead.io/lessons/rxjs-creation-operators-empty-never-throw?course=rxjs-beyond-the-basics-creating-observables-from-scratch) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/throwError.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/throwError.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/throwError.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/throwError.ts) diff --git a/operators/creation/timer.md b/operators/creation/timer.md index 9187a3ba..026e5273 100644 --- a/operators/creation/timer.md +++ b/operators/creation/timer.md @@ -55,10 +55,10 @@ const subscribe = source.subscribe(val => console.log(val)); - [timer](https://rxjs.dev/api/index/function/timer) πŸ“° - Official docs - [Creation operators: interval and timer](https://egghead.io/lessons/rxjs-creation-operators-interval-and-timer?course=rxjs-beyond-the-basics-creating-observables-from-scratch) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz -- [Build your own timer operator](https://blog.strongbrew.io/build-the-operators-from-rxjs-from-scratch/?lectureId=timer#app) - πŸŽ₯ - Kwinten Pisman +- [Build your own timer operator](https://github.com/KwintenP/rxjs-operators-from-scratch/blob/master/src/observable/timer.ts) + πŸ“ - Kwinten Pisman --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/timer.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/timer.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/timer.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/observable/timer.ts) From 64d98d070dda2e1ea4de035e4bee04d511a7e9b6 Mon Sep 17 00:00:00 2001 From: Bruno Ladeia Date: Sat, 13 Jan 2024 12:46:21 -0300 Subject: [PATCH 04/11] fix: broken links for err handling operators --- operators/error_handling/catch.md | 4 ++-- operators/error_handling/retry.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/operators/error_handling/catch.md b/operators/error_handling/catch.md index ecd603a6..738ab302 100644 --- a/operators/error_handling/catch.md +++ b/operators/error_handling/catch.md @@ -109,11 +109,11 @@ iWillStopListening$.subscribe(console.log); ### Additional Resources - [catchError](https://rxjs.dev/api/operators/catchError) πŸ“° - Official docs -- [catchError](https://indepth.dev/reference/rxjs/operators/catch-error) - In Depth Dev Reference +- [catchError](https://web.archive.org/web/20220626230048/https://indepth.dev/reference/rxjs/operators/catch-error) - In Depth Dev Reference - [Error handling operator: catch](https://egghead.io/lessons/rxjs-error-handling-operator-catch?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/catchError.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/catchError.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/catchError.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/catchError.ts) diff --git a/operators/error_handling/retry.md b/operators/error_handling/retry.md index 3676a8ad..09658624 100644 --- a/operators/error_handling/retry.md +++ b/operators/error_handling/retry.md @@ -60,11 +60,11 @@ const subscribe = example.subscribe({ ### Additional Resources - [retry](https://rxjs.dev/api/operators/retry) πŸ“° - Official docs -- [retry](https://indepth.dev/reference/rxjs/operators/retry) - In Depth Dev Reference +- [retry](https://web.archive.org/web/20220626224549/https://indepth.dev/reference/rxjs/operators/retry) - In Depth Dev Reference - [Error handling operator: retry and retryWhen](https://egghead.io/lessons/rxjs-error-handling-operator-retry-and-retrywhen?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/retry.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/retry.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/retry.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/retry.ts) From 6dae39903386bdbcb9f5ad547b95f8985f7fc7f9 Mon Sep 17 00:00:00 2001 From: Bruno Ladeia Date: Sat, 13 Jan 2024 18:25:53 -0300 Subject: [PATCH 05/11] fix: broken links for multicasting operators page --- operators/multicasting/multicast.md | 2 +- operators/multicasting/publish.md | 2 +- operators/multicasting/share.md | 2 +- operators/multicasting/sharereplay.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/operators/multicasting/multicast.md b/operators/multicasting/multicast.md index 9189a30e..c1581c10 100644 --- a/operators/multicasting/multicast.md +++ b/operators/multicasting/multicast.md @@ -87,4 +87,4 @@ setTimeout(() => { --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/multicast.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/multicast.ts) +> [https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/operators/multicast.ts](https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/operators/multicast.ts) diff --git a/operators/multicasting/publish.md b/operators/multicasting/publish.md index 21750c73..71e40f65 100644 --- a/operators/multicasting/publish.md +++ b/operators/multicasting/publish.md @@ -57,4 +57,4 @@ setTimeout(() => { - [publish](https://rxjs.dev/api/operators/publish) πŸ“° - Official docs > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/publish.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/publish.ts) +> [https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/operators/publish.ts](https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/operators/publish.ts) diff --git a/operators/multicasting/share.md b/operators/multicasting/share.md index 2060ac2d..9ef59b97 100644 --- a/operators/multicasting/share.md +++ b/operators/multicasting/share.md @@ -73,4 +73,4 @@ const subscribeFour = sharedExample.subscribe(val => console.log(val)); --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/share.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/share.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/share.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/share.ts) diff --git a/operators/multicasting/sharereplay.md b/operators/multicasting/sharereplay.md index 8292134c..0bc8a1cc 100644 --- a/operators/multicasting/sharereplay.md +++ b/operators/multicasting/sharereplay.md @@ -173,4 +173,4 @@ const lateSubscriber = lastUrl.subscribe(console.log); --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/shareReplay.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/shareReplay.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/shareReplay.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/shareReplay.ts) From a0df1ed52a29f235e37a4a98b014ca459dec6dff Mon Sep 17 00:00:00 2001 From: Bruno Ladeia Date: Sat, 13 Jan 2024 20:02:28 -0300 Subject: [PATCH 06/11] fix: broken links for filtering operators --- operators/filtering/audit.md | 5 ++--- operators/filtering/audittime.md | 7 +++---- operators/filtering/debounce.md | 4 ++-- operators/filtering/debouncetime.md | 8 ++++---- operators/filtering/distinct.md | 2 +- operators/filtering/distinctuntilchanged.md | 4 ++-- operators/filtering/distinctuntilkeychanged.md | 5 ++--- operators/filtering/filter.md | 8 ++++---- operators/filtering/find.md | 2 +- operators/filtering/first.md | 2 +- operators/filtering/ignoreelements.md | 5 ++--- operators/filtering/last.md | 2 +- operators/filtering/sample.md | 2 +- operators/filtering/single.md | 2 +- operators/filtering/skip.md | 2 +- operators/filtering/skipuntil.md | 2 +- operators/filtering/skipwhile.md | 2 +- operators/filtering/take.md | 8 ++++---- operators/filtering/takelast.md | 5 ++--- operators/filtering/takeuntil.md | 16 +++++++--------- operators/filtering/takewhile.md | 7 +++---- operators/filtering/throttle.md | 2 +- operators/filtering/throttletime.md | 4 ++-- 23 files changed, 49 insertions(+), 57 deletions(-) diff --git a/operators/filtering/audit.md b/operators/filtering/audit.md index c5121090..11fb2d88 100644 --- a/operators/filtering/audit.md +++ b/operators/filtering/audit.md @@ -8,10 +8,9 @@ ### Additional Resources -* [audit](https://rxjs.dev/api/operators/audit) - πŸ“° - Official docs +* [audit](https://rxjs.dev/api/operators/audit) πŸ“° - Official docs --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/audit.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/audit.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/audit.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/audit.ts) diff --git a/operators/filtering/audittime.md b/operators/filtering/audittime.md index 9c82e451..9ae18618 100644 --- a/operators/filtering/audittime.md +++ b/operators/filtering/audittime.md @@ -34,12 +34,11 @@ const subscribe = example.subscribe(val => console.log('Clicked')); ### Additional Resources -* [auditTime](https://rxjs.dev/api/operators/auditTime) - πŸ“° - Official docs -* [auditTime](https://indepth.dev/reference/rxjs/operators/audit-time) - In Depth Dev Reference +* [auditTime](https://rxjs.dev/api/operators/auditTime) πŸ“° - Official docs +* [auditTime](https://web.archive.org/web/20230925065445/https://indepth.dev/reference/rxjs/operators/audit-time) - In Depth Dev Reference * [Time based operators comparison](../../concepts/time-based-operators-comparison.md) --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/auditTime.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/auditTime.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/auditTime.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/auditTime.ts) diff --git a/operators/filtering/debounce.md b/operators/filtering/debounce.md index 526f744e..e67572d7 100644 --- a/operators/filtering/debounce.md +++ b/operators/filtering/debounce.md @@ -70,11 +70,11 @@ const subscribe = debouncedInterval.subscribe(val => ### Additional Resources - [debounce](https://rxjs.dev/api/operators/debounce) πŸ“° - Official docs -- [debounce](https://indepth.dev/reference/rxjs/operators/debounce) - In Depth Dev Reference +- [debounce](https://web.archive.org/web/20230529220711/https://indepth.dev/reference/rxjs/operators/debounce) - In Depth Dev Reference - [Transformation operator: debounce and debounceTime](https://egghead.io/lessons/rxjs-transformation-operators-debounce-and-debouncetime?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/debounce.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/debounce.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/debounce.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/debounce.ts) diff --git a/operators/filtering/debouncetime.md b/operators/filtering/debouncetime.md index 082de437..fc3e9387 100644 --- a/operators/filtering/debouncetime.md +++ b/operators/filtering/debouncetime.md @@ -65,14 +65,14 @@ keyup$ ### Additional Resources - [debounceTime](https://rxjs.dev/api/operators/debounceTime) πŸ“° - Official docs -- [debounceTime](https://indepth.dev/reference/rxjs/operators/debounce-time) - In Depth Dev Reference +- [debounceTime](https://web.archive.org/web/20230925073453/https://indepth.dev/reference/rxjs/operators/debounce-time) - In Depth Dev Reference - [Transformation operator: debounce and debounceTime](https://egghead.io/lessons/rxjs-transformation-operators-debounce-and-debouncetime?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz - [Time based operators comparison](../../concepts/time-based-operators-comparison.md) -- [Build your own debounceTime operator](https://blog.strongbrew.io/build-the-operators-from-rxjs-from-scratch/?lectureId=debounceTime#app) - πŸŽ₯ - Kwinten Pisman +- [Build your own debounceTime operator](https://github.com/KwintenP/rxjs-operators-from-scratch/blob/master/src/operators/debounceTime.ts) + πŸ“ - Kwinten Pisman --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/debounceTime.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/debounceTime.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/debounceTime.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/debounceTime.ts) diff --git a/operators/filtering/distinct.md b/operators/filtering/distinct.md index 54c52d6c..78dc0abd 100644 --- a/operators/filtering/distinct.md +++ b/operators/filtering/distinct.md @@ -59,4 +59,4 @@ OUTPUT: --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/distinct.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/distinct.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/distinct.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/distinct.ts) diff --git a/operators/filtering/distinctuntilchanged.md b/operators/filtering/distinctuntilchanged.md index f473145c..3f4ef361 100644 --- a/operators/filtering/distinctuntilchanged.md +++ b/operators/filtering/distinctuntilchanged.md @@ -109,11 +109,11 @@ source$ - [distinctUntilChanged](https://rxjs.dev/api/operators/distinctUntilChanged) πŸ“° - Official docs -- [distinctUntilChanged](https://indepth.dev/reference/rxjs/operators/distinct-until-changed) - In Depth Dev Reference +- [distinctUntilChanged](https://web.archive.org/web/20230324221519/https://indepth.dev/reference/rxjs/operators/distinct-until-changed) - In Depth Dev Reference - [Filtering operator: distinct and distinctUntilChanged](https://egghead.io/lessons/rxjs-filtering-operators-distinct-and-distinctuntilchanged?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/distinctUntilChanged.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/distinctUntilChanged.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/distinctUntilChanged.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/distinctUntilChanged.ts) diff --git a/operators/filtering/distinctuntilkeychanged.md b/operators/filtering/distinctuntilkeychanged.md index e4751bae..62ef1d8d 100644 --- a/operators/filtering/distinctuntilkeychanged.md +++ b/operators/filtering/distinctuntilkeychanged.md @@ -55,10 +55,9 @@ keys$.subscribe(console.log); ### Additional Resources -- [distinctUntilKeyChanged](https://rxjs.dev/api/operators/distinctUntilKeyChanged) - πŸ“° - Official docs +- [distinctUntilKeyChanged](https://rxjs.dev/api/operators/distinctUntilKeyChanged) πŸ“° - Official docs --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/distinctUntilKeyChanged.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/distinctUntilKeyChanged.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/distinctUntilKeyChanged.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/distinctUntilKeyChanged.ts) diff --git a/operators/filtering/filter.md b/operators/filtering/filter.md index f49dd928..bfa2b4bb 100644 --- a/operators/filtering/filter.md +++ b/operators/filtering/filter.md @@ -105,15 +105,15 @@ const subscribe = example.subscribe(val => ### Additional Resources - [filter](https://rxjs.dev/api/operators/filter) πŸ“° - Official docs -- [filter](https://indepth.dev/reference/rxjs/operators/filter) - In Depth Dev Reference +- [filter](https://web.archive.org/web/20230529222159/https://indepth.dev/reference/rxjs/operators/filter) - In Depth Dev Reference - [Adding conditional logic with filter](https://egghead.io/lessons/rxjs-adding-conditional-logic-with-filter?course=step-by-step-async-javascript-with-rxjs) πŸŽ₯ πŸ’΅ - John Linquist - [Filtering operator: filter](https://egghead.io/lessons/rxjs-filtering-operator-filter?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz -- [Build your own filter operator](https://blog.strongbrew.io/build-the-operators-from-rxjs-from-scratch/?lectureId=filter#app) - πŸŽ₯ - Kwinten Pisman +- [Build your own filter operator](https://github.com/KwintenP/rxjs-operators-from-scratch/blob/master/src/operators/filter.ts) + πŸ“ - Kwinten Pisman --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/filter.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/filter.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/filter.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/filter.ts) diff --git a/operators/filtering/find.md b/operators/filtering/find.md index efb6e5e3..d9416e6c 100644 --- a/operators/filtering/find.md +++ b/operators/filtering/find.md @@ -50,4 +50,4 @@ clicks$ --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/find.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/find.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/find.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/find.ts) diff --git a/operators/filtering/first.md b/operators/filtering/first.md index 2c5f596e..3540ee65 100644 --- a/operators/filtering/first.md +++ b/operators/filtering/first.md @@ -90,4 +90,4 @@ const subscribe = example.subscribe(val => console.log(val)); --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/first.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/first.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/first.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/first.ts) diff --git a/operators/filtering/ignoreelements.md b/operators/filtering/ignoreelements.md index e3e5c6d7..cc982cf5 100644 --- a/operators/filtering/ignoreelements.md +++ b/operators/filtering/ignoreelements.md @@ -66,10 +66,9 @@ const subscribe = error.subscribe( ### Additional Resources -- [ignoreElements](https://rxjs.dev/api/operators/ignoreElements) πŸ“° - Official - docs +- [ignoreElements](https://rxjs.dev/api/operators/ignoreElements) πŸ“° - Official docs --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/ignoreElements.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/ignoreElements.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/ignoreElements.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/ignoreElements.ts) diff --git a/operators/filtering/last.md b/operators/filtering/last.md index add2fbed..0aadf844 100644 --- a/operators/filtering/last.md +++ b/operators/filtering/last.md @@ -82,4 +82,4 @@ const subscribeTwo = exampleTwo.subscribe(val => console.log(val)); --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/last.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/last.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/last.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/last.ts) diff --git a/operators/filtering/sample.md b/operators/filtering/sample.md index 39994150..b943b16d 100644 --- a/operators/filtering/sample.md +++ b/operators/filtering/sample.md @@ -84,4 +84,4 @@ const listener = merge( --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/sample.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/sample.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/sample.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/sample.ts) diff --git a/operators/filtering/single.md b/operators/filtering/single.md index ed36a22c..1b59e0ad 100644 --- a/operators/filtering/single.md +++ b/operators/filtering/single.md @@ -35,4 +35,4 @@ const subscribe = example.subscribe(val => console.log(val)); --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/single.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/single.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/single.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/single.ts) diff --git a/operators/filtering/skip.md b/operators/filtering/skip.md index ec9a8ba1..b474b3e9 100644 --- a/operators/filtering/skip.md +++ b/operators/filtering/skip.md @@ -74,4 +74,4 @@ const filterObs = numArrayObs --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/skip.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/skip.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/skip.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/skip.ts) diff --git a/operators/filtering/skipuntil.md b/operators/filtering/skipuntil.md index 57f0c136..16d0aa7b 100644 --- a/operators/filtering/skipuntil.md +++ b/operators/filtering/skipuntil.md @@ -35,4 +35,4 @@ const subscribe = example.subscribe(val => console.log(val)); --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/skipUntil.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/skipUntil.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/skipUntil.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/skipUntil.ts) diff --git a/operators/filtering/skipwhile.md b/operators/filtering/skipwhile.md index d718417b..539e26eb 100644 --- a/operators/filtering/skipwhile.md +++ b/operators/filtering/skipwhile.md @@ -35,4 +35,4 @@ const subscribe = example.subscribe(val => console.log(val)); --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/skipWhile.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/skipWhile.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/skipWhile.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/skipWhile.ts) diff --git a/operators/filtering/take.md b/operators/filtering/take.md index 118757be..cbe3eb4d 100644 --- a/operators/filtering/take.md +++ b/operators/filtering/take.md @@ -106,13 +106,13 @@ const subscribe = oneClickEvent.subscribe(); ### Additional Resources - [take](https://rxjs.dev/api/operators/take) πŸ“° - Official docs -- [take](https://indepth.dev/reference/rxjs/operators/take) - In Depth Dev Reference +- [take](https://web.archive.org/web/20230619233319/https://indepth.dev/reference/rxjs/operators/take) - In Depth Dev Reference - [Filtering operator: take, first, skip](https://egghead.io/lessons/rxjs-filtering-operators-take-first-skip?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz -- [Build your own take operator](https://blog.strongbrew.io/build-the-operators-from-rxjs-from-scratch/?lectureId=take#app) - πŸŽ₯ - Kwinten Pisman +- [Build your own take operator](https://github.com/KwintenP/rxjs-operators-from-scratch/blob/master/src/operators/take.ts) + πŸ“ - Kwinten Pisman --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/take.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/take.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/take.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/take.ts) diff --git a/operators/filtering/takelast.md b/operators/filtering/takelast.md index 5d110d8d..6e277493 100644 --- a/operators/filtering/takelast.md +++ b/operators/filtering/takelast.md @@ -35,10 +35,9 @@ const subscribe = example.subscribe(val => console.log(val)); ### Additional Resources -- [takeLast](https://rxjs-dev.firebaseapp.com/api/operators/takeLast) πŸ“° - - Official docs +- [takeLast](https://rxjs-dev.firebaseapp.com/api/operators/takeLast) πŸ“° - Official docs --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/takeLast.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/takeLast.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/takeLast.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/takeLast.ts) diff --git a/operators/filtering/takeuntil.md b/operators/filtering/takeuntil.md index 4d92299e..2d891590 100644 --- a/operators/filtering/takeuntil.md +++ b/operators/filtering/takeuntil.md @@ -140,17 +140,15 @@ mousedown$ ### Additional Resources - [takeUntil](https://rxjs.dev/api/operators/takeUntil) πŸ“° - Official docs -- [takeUntil](https://indepth.dev/reference/rxjs/operators/take-until) - In Depth Dev Reference - -* [Avoiding takeUntil leaks](https://blog.angularindepth.com/rxjs-avoiding-takeuntil-leaks-fb5182d047ef) - - Angular in Depth -* [Stopping a stream with takeUntil](https://egghead.io/lessons/rxjs-stopping-a-stream-with-takeuntil?course=step-by-step-async-javascript-with-rxjs) +- [takeUntil](https://web.archive.org/web/20230925063213/https://indepth.dev/reference/rxjs/operators/take-until) - In Depth Dev Reference +- [Avoiding takeUntil leaks](https://cartant.medium.com/rxjs-avoiding-takeuntil-leaks-fb5182d047ef) - + Nicholas Jamieson +- [Stopping a stream with takeUntil](https://egghead.io/lessons/rxjs-stopping-a-stream-with-takeuntil?course=step-by-step-async-javascript-with-rxjs) πŸŽ₯ πŸ’΅ - John Linquist - -- [Build your own takeUntil operator](https://blog.strongbrew.io/build-the-operators-from-rxjs-from-scratch/?lectureId=takeUntil#app) - πŸŽ₯ - Kwinten Pisman +- [Build your own takeUntil operator](https://github.com/KwintenP/rxjs-operators-from-scratch/blob/master/src/operators/takeUntil.ts) + πŸ“ - Kwinten Pisman --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/takeUntil.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/takeUntil.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/takeUntil.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/takeUntil.ts) diff --git a/operators/filtering/takewhile.md b/operators/filtering/takewhile.md index f0779d21..f7e3c5a3 100644 --- a/operators/filtering/takewhile.md +++ b/operators/filtering/takewhile.md @@ -102,13 +102,12 @@ source$ ### Additional Resources -- [takeWhile](https://rxjs-dev.firebaseapp.com/api/operators/takeWhile) πŸ“° - - Official docs -- [takeWhile](https://indepth.dev/reference/rxjs/operators/take-while) - In Depth Dev Reference +- [takeWhile](https://rxjs-dev.firebaseapp.com/api/operators/takeWhile) πŸ“° - Official docs +- [takeWhile](https://web.archive.org/web/20230925075841/https://indepth.dev/reference/rxjs/operators/take-while) - In Depth Dev Reference - [Completing a stream with takeWhile](https://egghead.io/lessons/rxjs-completing-a-stream-with-takewhile?course=step-by-step-async-javascript-with-rxjs) πŸŽ₯ πŸ’΅ - John Linquist --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/takeWhile.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/takeWhile.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/takeWhile.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/takeWhile.ts) diff --git a/operators/filtering/throttle.md b/operators/filtering/throttle.md index 4e6a7c05..5a8daeb8 100644 --- a/operators/filtering/throttle.md +++ b/operators/filtering/throttle.md @@ -65,4 +65,4 @@ const subscribe = example.subscribe(val => console.log(val)); --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/throttle.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/throttle.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/throttle.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/throttle.ts) diff --git a/operators/filtering/throttletime.md b/operators/filtering/throttletime.md index 8353dc3f..4bc5afeb 100644 --- a/operators/filtering/throttletime.md +++ b/operators/filtering/throttletime.md @@ -59,7 +59,7 @@ const subscribe = example.subscribe(val => console.log(val)); ### Additional Resources - [throttleTime](https://rxjs.dev/api/operators/throttleTime) πŸ“° - Official docs -- [throttleTime](https://indepth.dev/reference/rxjs/operators/throttle-time) - In Depth Dev Reference +- [throttleTime](https://web.archive.org/web/20230529223636/https://indepth.dev/reference/rxjs/operators/throttle-time) - In Depth Dev Reference - [Filtering operator: throttle and throttleTime](https://egghead.io/lessons/rxjs-filtering-operators-throttle-and-throttletime?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz - [Time based operators comparison](../../concepts/time-based-operators-comparison.md) @@ -67,4 +67,4 @@ const subscribe = example.subscribe(val => console.log(val)); --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/throttleTime.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/throttleTime.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/throttleTime.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/throttleTime.ts) From 8483812a2653af128992f69eff29cb5647c6455b Mon Sep 17 00:00:00 2001 From: Bruno Ladeia Date: Sat, 13 Jan 2024 23:33:10 -0300 Subject: [PATCH 07/11] fix: broken links for transformation operators --- operators/transformation/buffer.md | 4 ++-- operators/transformation/buffercount.md | 4 ++-- operators/transformation/buffertime.md | 4 ++-- operators/transformation/buffertoggle.md | 2 +- operators/transformation/bufferwhen.md | 4 ++-- operators/transformation/concatmap.md | 8 ++++---- operators/transformation/concatmapto.md | 2 +- operators/transformation/exhaustmap.md | 4 ++-- operators/transformation/expand.md | 2 +- operators/transformation/groupby.md | 2 +- operators/transformation/map.md | 11 +++++------ operators/transformation/mapto.md | 2 +- operators/transformation/mergemap.md | 12 ++++++------ operators/transformation/mergescan.md | 5 ++--- operators/transformation/partition.md | 2 +- operators/transformation/pluck.md | 2 +- operators/transformation/reduce.md | 6 +++--- operators/transformation/scan.md | 6 +++--- operators/transformation/switchmap.md | 14 +++++++------- operators/transformation/switchmapto.md | 2 +- operators/transformation/toarray.md | 2 +- operators/transformation/window.md | 5 ++--- operators/transformation/windowcount.md | 2 +- operators/transformation/windowtime.md | 2 +- operators/transformation/windowtoggle.md | 2 +- operators/transformation/windowwhen.md | 2 +- 26 files changed, 55 insertions(+), 58 deletions(-) diff --git a/operators/transformation/buffer.md b/operators/transformation/buffer.md index d5aedebf..9d92d26c 100644 --- a/operators/transformation/buffer.md +++ b/operators/transformation/buffer.md @@ -75,11 +75,11 @@ const subscribe = myBufferedInterval.subscribe(val => - [buffer](https://rxjs-dev.firebaseapp.com/api/operators/buffer) πŸ“° - Official docs -- [buffer](https://indepth.dev/reference/rxjs/operators/buffer) - In Depth Dev Reference +- [buffer](https://web.archive.org/web/20230309172739/https://indepth.dev/reference/rxjs/operators/buffer) - In Depth Dev Reference - [Transformation operator: buffer](https://egghead.io/lessons/rxjs-transformation-operator-buffer?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/buffer.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/buffer.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/buffer.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/buffer.ts) diff --git a/operators/transformation/buffercount.md b/operators/transformation/buffercount.md index 7b742c48..4ef31078 100644 --- a/operators/transformation/buffercount.md +++ b/operators/transformation/buffercount.md @@ -9,7 +9,7 @@ The key distinction between bufferCount and other buffering operators lies in it This operator proves advantageous in scenarios where processing data in chunks is more efficient, such as bulk updates or batch processing. By contrast, the buffer operator relies on a closing notifier to define the buffering window, which may not suit all use cases. -Keep in mind, though, that bufferCount may not be the best choice when the buffering strategy requires time-based or event-driven windows. In such instances, consider using [buffer](buffer.md) or [buffertime](bufferTime.md) instead. Remember, bufferCount organizes values based on emission count, as illustrated clearly in the first example. +Keep in mind, though, that bufferCount may not be the best choice when the buffering strategy requires time-based or event-driven windows. In such instances, consider using [buffer](buffer.md) or [buffertime](buffertime.md) instead. Remember, bufferCount organizes values based on emission count, as illustrated clearly in the first example. Exercise caution in situations where buffering strategy plays a critical role in the desired output, as choosing the wrong operator might lead to unexpected behavior. Familiarize yourself with the various buffering operators to make informed decisions based on your specific requirements. @@ -113,4 +113,4 @@ fromEvent(document, 'keydown') --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/bufferCount.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/bufferCount.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/bufferCount.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/bufferCount.ts) diff --git a/operators/transformation/buffertime.md b/operators/transformation/buffertime.md index 520294fa..17ca8a35 100644 --- a/operators/transformation/buffertime.md +++ b/operators/transformation/buffertime.md @@ -62,10 +62,10 @@ const subscribe = example.subscribe(val => * [bufferTime](https://rxjs.dev/api/operators/bufferTime) πŸ“° - Official docs -* [bufferTime](https://indepth.dev/reference/rxjs/operators/buffer-time) - In Depth Dev Reference +* [bufferTime](https://web.archive.org/web/20220810204209/https://indepth.dev/reference/rxjs/operators/buffer-time) - In Depth Dev Reference * [Time based operators comparison](../../concepts/time-based-operators-comparison.md) --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/bufferTime.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/bufferTime.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/bufferTime.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/bufferTime.ts) diff --git a/operators/transformation/buffertoggle.md b/operators/transformation/buffertoggle.md index 2b21ea6d..3abf8060 100644 --- a/operators/transformation/buffertoggle.md +++ b/operators/transformation/buffertoggle.md @@ -66,4 +66,4 @@ fromEvent(document, 'mousemove') --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/bufferToggle.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/bufferToggle.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/bufferToggle.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/bufferToggle.ts) diff --git a/operators/transformation/bufferwhen.md b/operators/transformation/bufferwhen.md index 3356ec4c..8d8a7d6f 100644 --- a/operators/transformation/bufferwhen.md +++ b/operators/transformation/bufferwhen.md @@ -38,9 +38,9 @@ const subscribe = bufferWhenExample.subscribe(val => ### Additional Resources - [bufferWhen](https://rxjs.dev/api/operators/bufferWhen) πŸ“° - Official docs -- [bufferWhen](https://indepth.dev/reference/rxjs/operators/buffer-when) - In Depth Dev Reference +- [bufferWhen](https://web.archive.org/web/20220810212022/https://indepth.dev/reference/rxjs/operators/buffer-when) - In Depth Dev Reference --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/bufferWhen.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/bufferWhen.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/bufferWhen.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/bufferWhen.ts) diff --git a/operators/transformation/concatmap.md b/operators/transformation/concatmap.md index 5b1860eb..9a103ea6 100644 --- a/operators/transformation/concatmap.md +++ b/operators/transformation/concatmap.md @@ -113,13 +113,13 @@ const subscribe = example.subscribe(val => ### Additional Resources - [concatMap](https://rxjs.dev/api/operators/concatMap) πŸ“° - Official docs -- [concatMap](https://indepth.dev/reference/rxjs/operators/concat-map) - In Depth Dev Reference +- [concatMap](https://web.archive.org/web/20230529215222/https://indepth.dev/reference/rxjs/operators/concat-map) - In Depth Dev Reference - [Use RxJS concatMap to map and concat higher order observables](https://egghead.io/lessons/rxjs-use-rxjs-concatmap-to-map-and-concat-high-order-observables?course=use-higher-order-observables-in-rxjs-effectively) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz -- [Build your own concatMap operator](https://blog.strongbrew.io/build-the-operators-from-rxjs-from-scratch/?lectureId=concatMap#app) - πŸŽ₯ - Kwinten Pisman +- [Build your own concatMap operator](https://github.com/KwintenP/rxjs-operators-from-scratch/blob/master/src/operators/concatMap.ts) + πŸ“ - Kwinten Pisman --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/concatMap.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/concatMap.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/concatMap.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/concatMap.ts) diff --git a/operators/transformation/concatmapto.md b/operators/transformation/concatmapto.md index 534a7929..7d7efd28 100644 --- a/operators/transformation/concatmapto.md +++ b/operators/transformation/concatmapto.md @@ -77,4 +77,4 @@ const subscribe = example.subscribe(val => console.log(val)); --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/concatMapTo.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/concatMapTo.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/concatMapTo.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/concatMapTo.ts) diff --git a/operators/transformation/exhaustmap.md b/operators/transformation/exhaustmap.md index 433564db..36f41f20 100644 --- a/operators/transformation/exhaustmap.md +++ b/operators/transformation/exhaustmap.md @@ -131,9 +131,9 @@ const exhaustSub = firstInterval ### Additional Resources - [exhaustMap](https://rxjs.dev/api/operators/exhaustMap) πŸ“° - Official docs -- [exhaustMap](https://indepth.dev/reference/rxjs/operators/exhaust-map) - In Depth Dev Reference +- [exhaustMap](https://web.archive.org/web/20220616200049/https://indepth.dev/reference/rxjs/operators/exhaust-map) - In Depth Dev Reference --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/exhaustMap.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/exhaustMap.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/exhaustMap.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/exhaustMap.ts) diff --git a/operators/transformation/expand.md b/operators/transformation/expand.md index 4da5fed3..5b8b6e6f 100644 --- a/operators/transformation/expand.md +++ b/operators/transformation/expand.md @@ -60,4 +60,4 @@ const subscribe = example.subscribe(val => console.log(`RESULT: ${val}`)); --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/expand.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/expand.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/expand.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/expand.ts) diff --git a/operators/transformation/groupby.md b/operators/transformation/groupby.md index 8fb5b8fc..7ba72a2e 100644 --- a/operators/transformation/groupby.md +++ b/operators/transformation/groupby.md @@ -90,4 +90,4 @@ from(people) --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/groupBy.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/groupBy.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/groupBy.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/groupBy.ts) diff --git a/operators/transformation/map.md b/operators/transformation/map.md index ad220718..319376cb 100644 --- a/operators/transformation/map.md +++ b/operators/transformation/map.md @@ -80,16 +80,15 @@ const subscribe = example.subscribe(val => console.log(val)); ### Additional Resources - [map](https://rxjs.dev/api/operators/map) πŸ“° - Official docs -- [map](https://indepth.dev/reference/rxjs/operators/map) - In Depth Dev Reference -- [map vs flatMap](https://egghead.io/lessons/rxjs-rxjs-map-vs-flatmap) πŸŽ₯ - Ben - Lesh +- [map](https://web.archive.org/web/20230925064048/https://indepth.dev/reference/rxjs/operators/map) - In Depth Dev Reference +- [map vs flatMap](https://egghead.io/lessons/rxjs-rxjs-map-vs-flatmap) πŸŽ₯ - Ben Lesh - [Transformation operator: map and mapTo](https://egghead.io/lessons/rxjs-transformation-operator-map-and-mapto?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz -* [Build your own map operator](https://blog.strongbrew.io/build-the-operators-from-rxjs-from-scratch/?lectureId=map#app) - πŸŽ₯ - Kwinten Pisman +* [Build your own map operator](https://github.com/KwintenP/rxjs-operators-from-scratch/blob/master/src/operators/map.ts) + πŸ“ - Kwinten Pisman --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/map.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/map.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/map.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/map.ts) diff --git a/operators/transformation/mapto.md b/operators/transformation/mapto.md index 4efa6410..414a264b 100644 --- a/operators/transformation/mapto.md +++ b/operators/transformation/mapto.md @@ -73,4 +73,4 @@ const subscribe = example.subscribe(val => console.log(val)); --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/mapTo.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/mapTo.ts) +> [https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/operators/mapTo.ts](https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/operators/mapTo.ts) diff --git a/operators/transformation/mergemap.md b/operators/transformation/mergemap.md index f1fbad75..e459ff5c 100644 --- a/operators/transformation/mergemap.md +++ b/operators/transformation/mergemap.md @@ -215,19 +215,19 @@ source$ ### Additional Resources - [mergeMap](https://rxjs.dev/api/operators/mergeMap) πŸ“° - Official docs -- [mergeMap](https://indepth.dev/reference/rxjs/operators/merge-map) - In Depth Dev Reference -- [map vs flatMap](https://egghead.io/lessons/rxjs-rxjs-map-vs-flatmap) πŸŽ₯ πŸ’΅ - - Ben Lesh +- [mergeMap](https://web.archive.org/web/20230529220018/https://indepth.dev/reference/rxjs/operators/merge-map) - In Depth Dev Reference +- [map vs flatMap](https://egghead.io/lessons/rxjs-rxjs-map-vs-flatmap) + πŸŽ₯ πŸ’΅ - Ben Lesh - [Async requests and responses in RxJS](https://egghead.io/lessons/rxjs-04-reactive-programming-async-requests-and-responses-in-rxjs) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz - [Use RxJS mergeMap to map and merge higher order observables](https://egghead.io/lessons/rxjs-use-rxjs-mergemap-to-map-and-merge-high-order-observables?course=use-higher-order-observables-in-rxjs-effectively) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz - [Use RxJS mergeMap for fine grain custom behavior](https://egghead.io/lessons/rxjs-use-rxjs-mergemap-for-fine-grain-custom-behavior?course=use-higher-order-observables-in-rxjs-effectively) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz -- [Build your own mergeMap operator](https://blog.strongbrew.io/build-the-operators-from-rxjs-from-scratch/?lectureId=mergeMap#app) - πŸŽ₯ - Kwinten Pisman +- [Build your own mergeMap operator](https://github.com/KwintenP/rxjs-operators-from-scratch/blob/master/src/operators/mergeMap.ts) + πŸ“ - Kwinten Pisman --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/mergeMap.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/mergeMap.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/mergeMap.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/mergeMap.ts) diff --git a/operators/transformation/mergescan.md b/operators/transformation/mergescan.md index 5d58e303..ed87d833 100644 --- a/operators/transformation/mergescan.md +++ b/operators/transformation/mergescan.md @@ -43,10 +43,9 @@ mouseDown$ ### Additional Resources -- [pluck](https://rxjs-dev.firebaseapp.com/api/operators/mergeScan) πŸ“° - - Official docs +- [mergeScan](https://rxjs-dev.firebaseapp.com/api/operators/mergeScan) πŸ“° - Official docs --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/mergeScan.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/mergeScan.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/mergeScan.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/mergeScan.ts) diff --git a/operators/transformation/partition.md b/operators/transformation/partition.md index 080a8a34..ded279dd 100644 --- a/operators/transformation/partition.md +++ b/operators/transformation/partition.md @@ -120,4 +120,4 @@ const subscribe = merge( --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/partition.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/observable/partition.ts) +> [https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/operators/partition.ts](https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/operators/partition.ts) diff --git a/operators/transformation/pluck.md b/operators/transformation/pluck.md index 7e0cc8ff..7304039a 100644 --- a/operators/transformation/pluck.md +++ b/operators/transformation/pluck.md @@ -78,4 +78,4 @@ const subscribe = example.subscribe(val => console.log(val)); --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/pluck.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/pluck.ts) +> [https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/operators/pluck.ts](https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/operators/pluck.ts) diff --git a/operators/transformation/reduce.md b/operators/transformation/reduce.md index 4745b263..418c22a9 100644 --- a/operators/transformation/reduce.md +++ b/operators/transformation/reduce.md @@ -37,10 +37,10 @@ const subscribe = example.subscribe(val => console.log('Sum:', val)); - [reduce](https://rxjs.dev/api/operators/reduce) πŸ“° - Official docs - [Scan() vs reduce() | RxJS TUTORIAL](https://www.youtube.com/watch?v=myEeo2rZc3g) πŸŽ₯ - Academind -- [Build your own reduce operator](https://blog.strongbrew.io/build-the-operators-from-rxjs-from-scratch/?lectureId=reduce#app) - πŸŽ₯ - Kwinten Pisman +- [Build your own reduce operator](https://github.com/KwintenP/rxjs-operators-from-scratch/blob/master/src/operators/reduce.ts) + πŸ“ - Kwinten Pisman --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/reduce.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/reduce.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/reduce.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/reduce.ts) diff --git a/operators/transformation/scan.md b/operators/transformation/scan.md index ef19012b..2358c855 100644 --- a/operators/transformation/scan.md +++ b/operators/transformation/scan.md @@ -148,10 +148,10 @@ interval(1000) πŸŽ₯ πŸ’΅ - John Linquist - [Transformation operator: scan](https://egghead.io/lessons/rxjs-transformation-operator-scan?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz -- [Build your own scan operator](https://blog.strongbrew.io/build-the-operators-from-rxjs-from-scratch/?lectureId=scan#app) - πŸŽ₯ - Kwinten Pisman +- [Build your own scan operator](https://github.com/KwintenP/rxjs-operators-from-scratch/blob/master/src/operators/scan.ts) + πŸ“ - Kwinten Pisman --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/scan.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/scan.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/scan.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/scan.ts) diff --git a/operators/transformation/switchmap.md b/operators/transformation/switchmap.md index 9682f129..ba5bd357 100644 --- a/operators/transformation/switchmap.md +++ b/operators/transformation/switchmap.md @@ -24,14 +24,14 @@ the function you supplied) is cancelled and the new observable is subscribed. You can remember this by the phrase **switch to a new observable**. This works perfectly for scenarios like -[typeaheads](https://angular-2-training-book.rangle.io/handout/http/search_with_switchmap.html) +[typeaheads](https://angular-training-guide.rangle.io/http/search_with_switchmap) where you are no longer concerned with the response of the previous request when a new input arrives. This also is a safe option in situations where a long lived inner observable could cause memory leaks, for instance if you used [mergeMap](mergemap.md) with an interval and forgot to properly dispose of inner subscriptions. Remember, `switchMap` maintains only one inner subscription at a time, this can be seen clearly in the -[first example](#example-1-restart-interval-every-5-seconds). +[first example](#example-1-restart-interval-on-every-click). Be careful though, you probably want to avoid `switchMap` in scenarios where every request needs to complete, think writes to a database. `switchMap` could @@ -145,8 +145,8 @@ timer(0, 5000) ### Additional Resources - [switchMap](https://rxjs.dev/api/operators/switchMap) πŸ“° - Official docs -- [switchMap](https://indepth.dev/reference/rxjs/operators/switch-map) - In Depth Dev Reference -- [Avoiding switchMap-Related Bugs](https://blog.angularindepth.com/switchmap-bugs-b6de69155524) - +- [switchMap](https://web.archive.org/web/20230330030949/https://indepth.dev/reference/rxjs/operators/switch-map) - In Depth Dev Reference +- [Avoiding switchMap-Related Bugs](https://ncjamieson.com/avoiding-switchmap-related-bugs/) - Nicholas Jamieson - [Starting a stream with switchMap](https://egghead.io/lessons/rxjs-starting-a-stream-with-switchmap?course=step-by-step-async-javascript-with-rxjs) πŸŽ₯ πŸ’΅ - John Linquist @@ -154,10 +154,10 @@ timer(0, 5000) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz - [Use switchMap as a safe default to flatten observables in RxJS](https://egghead.io/lessons/rxjs-use-switchmap-as-a-safe-default-to-flatten-observables-in-rxjs?course=use-higher-order-observables-in-rxjs-effectively) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz -- [Build your own switchMap operator](https://blog.strongbrew.io/build-the-operators-from-rxjs-from-scratch/?lectureId=switchMap#app) - πŸŽ₯ - Kwinten Pisman +- [Build your own switchMap operator](https://github.com/KwintenP/rxjs-operators-from-scratch/blob/master/src/operators/switchMap.ts) + πŸ“ - Kwinten Pisman --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/switchMap.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/switchMap.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/switchMap.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/switchMap.ts) diff --git a/operators/transformation/switchmapto.md b/operators/transformation/switchmapto.md index 34ed9d8a..ff6e2f90 100644 --- a/operators/transformation/switchmapto.md +++ b/operators/transformation/switchmapto.md @@ -58,4 +58,4 @@ click$ --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/switchMapTo.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/switchMapTo.ts) +> [https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/operators/switchMapTo.ts](https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/operators/switchMapTo.ts) diff --git a/operators/transformation/toarray.md b/operators/transformation/toarray.md index 9222a1f7..5d255d6f 100644 --- a/operators/transformation/toarray.md +++ b/operators/transformation/toarray.md @@ -38,4 +38,4 @@ interval(100) --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/toArray.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/toArray.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/toArray.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/toArray.ts) diff --git a/operators/transformation/window.md b/operators/transformation/window.md index 914499bf..bef68499 100644 --- a/operators/transformation/window.md +++ b/operators/transformation/window.md @@ -41,12 +41,11 @@ const subscribeTwo = example ### Additional Resources -- [window](https://rxjs.dev/api/operators/window) - πŸ“° - Official docs +- [window](https://rxjs.dev/api/operators/window) πŸ“° - Official docs - [Split an RxJS observable with window](https://egghead.io/lessons/rxjs-split-an-rxjs-observable-with-window?course=use-higher-order-observables-in-rxjs-effectively) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/window.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/window.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/window.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/window.ts) diff --git a/operators/transformation/windowcount.md b/operators/transformation/windowcount.md index da951eac..1fe89231 100644 --- a/operators/transformation/windowcount.md +++ b/operators/transformation/windowcount.md @@ -56,4 +56,4 @@ const subscribeTwo = example --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/windowCount.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/windowCount.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/windowCount.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/windowCount.ts) diff --git a/operators/transformation/windowtime.md b/operators/transformation/windowtime.md index 6f99c00c..017cf2c1 100644 --- a/operators/transformation/windowtime.md +++ b/operators/transformation/windowtime.md @@ -54,4 +54,4 @@ const subscribeTwo = example --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/windowTime.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/windowTime.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/windowTime.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/windowTime.ts) diff --git a/operators/transformation/windowtoggle.md b/operators/transformation/windowtoggle.md index 3be32dfb..7863fbea 100644 --- a/operators/transformation/windowtoggle.md +++ b/operators/transformation/windowtoggle.md @@ -62,4 +62,4 @@ const subscribeTwo = example --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/windowToggle.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/windowToggle.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/windowToggle.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/windowToggle.ts) diff --git a/operators/transformation/windowwhen.md b/operators/transformation/windowwhen.md index 7d751d62..e2a7151f 100644 --- a/operators/transformation/windowwhen.md +++ b/operators/transformation/windowwhen.md @@ -58,4 +58,4 @@ const subscribeTwo = example --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/windowWhen.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/windowWhen.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/windowWhen.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/windowWhen.ts) From f989dda1b266f2acdf8030d872efccf7d4198ad8 Mon Sep 17 00:00:00 2001 From: Bruno Ladeia Date: Sun, 14 Jan 2024 12:21:50 -0300 Subject: [PATCH 08/11] fix: broken links for utility operators --- operators/utility/delay.md | 4 ++-- operators/utility/delaywhen.md | 4 ++-- operators/utility/dematerialize.md | 5 ++--- operators/utility/do.md | 8 ++++---- operators/utility/finalize.md | 5 ++--- operators/utility/let.md | 5 ++--- operators/utility/repeat.md | 2 +- operators/utility/repeatwhen.md | 2 +- operators/utility/timeinterval.md | 2 +- operators/utility/timeout.md | 2 +- operators/utility/timeoutwith.md | 5 ++--- operators/utility/topromise.md | 2 +- 12 files changed, 21 insertions(+), 25 deletions(-) diff --git a/operators/utility/delay.md b/operators/utility/delay.md index 1702c518..ca34568e 100644 --- a/operators/utility/delay.md +++ b/operators/utility/delay.md @@ -64,11 +64,11 @@ const subscribe = message.subscribe(val => console.log(val)); ### Additional Resources - [delay](https://rxjs.dev/api/operators/delay) πŸ“° - Official docs -- [delay](https://indepth.dev/reference/rxjs/operators/delay) - In Depth Dev Reference +- [delay](https://web.archive.org/web/20230529212855/https://indepth.dev/reference/rxjs/operators/delay) - In Depth Dev Reference - [Transformation operator: delay and delayWhen](https://egghead.io/lessons/rxjs-transformation-operators-delay-and-delaywhen?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/delay.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/delay.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/delay.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/delay.ts) diff --git a/operators/utility/delaywhen.md b/operators/utility/delaywhen.md index 1bc8abb4..085d99e4 100644 --- a/operators/utility/delaywhen.md +++ b/operators/utility/delaywhen.md @@ -34,11 +34,11 @@ const subscribe = delayWhenExample.subscribe(val => console.log(val)); ### Additional Resources - [delayWhen](https://rxjs.dev/api/operators/delayWhen) πŸ“° - Official docs -- [delayWhen](https://indepth.dev/reference/rxjs/operators/delay-when) - In Depth Dev Reference +- [delayWhen](https://web.archive.org/web/20220616200050/https://indepth.dev/reference/rxjs/operators/delay-when) - In Depth Dev Reference - [Transformation operator: delay and delayWhen](https://egghead.io/lessons/rxjs-transformation-operators-delay-and-delaywhen?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/delayWhen.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/delayWhen.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/delayWhen.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/delayWhen.ts) diff --git a/operators/utility/dematerialize.md b/operators/utility/dematerialize.md index c8c7c6ca..2a817251 100644 --- a/operators/utility/dematerialize.md +++ b/operators/utility/dematerialize.md @@ -42,8 +42,7 @@ const subscription = source.subscribe({ ### Additional Resources -- [dematerialize](https://rxjs.dev/api/operators/dematerialize) πŸ“° - Official - docs +- [dematerialize](https://rxjs.dev/api/operators/dematerialize) πŸ“° - Official docs > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/demterialize.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/dematerialize.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/dematerialize.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/dematerialize.ts) diff --git a/operators/utility/do.md b/operators/utility/do.md index a922078f..e9944f1d 100644 --- a/operators/utility/do.md +++ b/operators/utility/do.md @@ -105,15 +105,15 @@ const example = source ### Additional Resources - [tap](https://rxjs.dev/api/operators/tap) πŸ“° - Official docs -- [tap](https://indepth.dev/reference/rxjs/operators/tap) - In Depth Dev Reference +- [tap](https://web.archive.org/web/20220810203008/https://indepth.dev/reference/rxjs/operators/tap) - In Depth Dev Reference - [Logging a stream with do](https://egghead.io/lessons/rxjs-logging-a-stream-with-do?course=step-by-step-async-javascript-with-rxjs) πŸŽ₯ πŸ’΅ - John Linquist - [Utility operator: do](https://egghead.io/lessons/rxjs-utility-operator-do?course=rxjs-beyond-the-basics-operators-in-depth) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz -- [Build your own tap operator](https://blog.strongbrew.io/build-the-operators-from-rxjs-from-scratch/?lectureId=tap#app) - πŸŽ₯ - Kwinten Pisman +- [Build your own tap operator](https://github.com/KwintenP/rxjs-operators-from-scratch/blob/master/src/operators/tap.ts) + πŸ“ - Kwinten Pisman --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/tap.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/tap.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/tap.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/tap.ts) diff --git a/operators/utility/finalize.md b/operators/utility/finalize.md index 910ae9b5..67597cbb 100644 --- a/operators/utility/finalize.md +++ b/operators/utility/finalize.md @@ -36,10 +36,9 @@ const subscribe = example.subscribe(val => console.log(val)); ### Additional Resources -* [finalize](https://rxjs.dev/api/operators/finalize) - πŸ“° - Official docs +* [finalize](https://rxjs.dev/api/operators/finalize) πŸ“° - Official docs --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/finalize.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/finalize.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/finalize.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/finalize.ts) diff --git a/operators/utility/let.md b/operators/utility/let.md index 642faa4c..b8ad2ce4 100644 --- a/operators/utility/let.md +++ b/operators/utility/let.md @@ -116,10 +116,9 @@ const subscribe = obsArrayPlusYourOperators(addTenThenTwenty) ### Additional Resources -- [let](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/let.md) - πŸ“° - Official docs +- [let](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/let.md) πŸ“° - Official docs --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/let.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/let.ts) +> [https://github.com/Reactive-Extensions/RxJS/blob/master/src/core/linq/observable/let.js](https://github.com/Reactive-Extensions/RxJS/blob/master/src/core/linq/observable/let.js) diff --git a/operators/utility/repeat.md b/operators/utility/repeat.md index 05bb02db..75909c20 100644 --- a/operators/utility/repeat.md +++ b/operators/utility/repeat.md @@ -47,4 +47,4 @@ delayedThing --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/repeat.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/repeat.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/repeat.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/repeat.ts) diff --git a/operators/utility/repeatwhen.md b/operators/utility/repeatwhen.md index 06ed7bc0..f7978920 100644 --- a/operators/utility/repeatwhen.md +++ b/operators/utility/repeatwhen.md @@ -7,7 +7,7 @@ --- πŸ’‘ If you just want to repeat a specified number of times, try -[retry](retry.md)! +[repeat](repeat.md)! --- diff --git a/operators/utility/timeinterval.md b/operators/utility/timeinterval.md index 9b10cf04..3cca845b 100644 --- a/operators/utility/timeinterval.md +++ b/operators/utility/timeinterval.md @@ -38,4 +38,4 @@ fromEvent(document, 'mousedown') --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/timeInterval.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/timeInterval.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/timeInterval.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/timeInterval.ts) diff --git a/operators/utility/timeout.md b/operators/utility/timeout.md index 9398717d..a6c9f87f 100644 --- a/operators/utility/timeout.md +++ b/operators/utility/timeout.md @@ -49,4 +49,4 @@ of(4000, 3000, 2000) --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/timeout.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/timeout.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/timeout.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/operators/timeout.ts) diff --git a/operators/utility/timeoutwith.md b/operators/utility/timeoutwith.md index afa7eec6..45da68b1 100644 --- a/operators/utility/timeoutwith.md +++ b/operators/utility/timeoutwith.md @@ -41,10 +41,9 @@ of(timeoutThreshold + 1, timeoutThreshold - 1, timeoutThreshold + 3) ### Additional Resources -- [timeoutWith](https://rxjs-dev.firebaseapp.com/api/operators/timeoutWith) πŸ“° - - Official Docs +- [timeoutWith](https://rxjs-dev.firebaseapp.com/api/operators/timeoutWith) πŸ“° - Official Docs --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/timeoutWith.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/timeoutWith.ts) +> [https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/operators/timeoutWith.ts](https://github.com/ReactiveX/rxjs/blob/7.8.1/src/internal/operators/timeoutWith.ts) diff --git a/operators/utility/topromise.md b/operators/utility/topromise.md index a989871d..a736964f 100644 --- a/operators/utility/topromise.md +++ b/operators/utility/topromise.md @@ -63,4 +63,4 @@ example().then(val => { --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/toPromise.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/toPromise.ts) +> [https://github.com/ReactiveX/rxjs/blob/5.0.0/src/operator/toPromise.ts](https://github.com/ReactiveX/rxjs/blob/5.0.0/src/operator/toPromise.ts) From 56a6874e038469af4d7a5aac5302547223f51ca4 Mon Sep 17 00:00:00 2001 From: Bruno Ladeia Date: Sun, 14 Jan 2024 12:41:10 -0300 Subject: [PATCH 09/11] fix: broken links on subjects page --- operators/complete.md | 3 +-- subjects/README.md | 9 +++------ subjects/asyncsubject.md | 7 +++---- subjects/behaviorsubject.md | 4 ++-- subjects/replaysubject.md | 4 ++-- subjects/subject.md | 7 +++---- 6 files changed, 14 insertions(+), 20 deletions(-) diff --git a/operators/complete.md b/operators/complete.md index 1cb5f0c1..7f34cfcf 100644 --- a/operators/complete.md +++ b/operators/complete.md @@ -106,7 +106,6 @@ _[Prefer a split by operator type?](README.md)_ ### Additional Resources -- [What Are Operators?](http://reactivex.io/rxjs/manual/overview.html#operators) - πŸ“° - Official Docs +- [What Are Operators?](https://rxjs-dev.firebaseapp.com/guide/operators#what-are-operators) πŸ“° - Official Docs - [What Operators Are](https://egghead.io/lessons/rxjs-what-rxjs-operators-are) πŸŽ₯ πŸ’΅ - AndrΓ© Staltz diff --git a/subjects/README.md b/subjects/README.md index 4a545734..99173936 100644 --- a/subjects/README.md +++ b/subjects/README.md @@ -116,9 +116,6 @@ NEXT(s) ### Additional Resources -* [Official Overview](http://reactivex.io/rxjs/manual/overview.html#subject) - πŸ“° -* [Official Documentation](http://reactivex.io/documentation/subject.html) - πŸ“° -* [On The Subject Of Subjects (in RxJS)](https://medium.com/@benlesh/on-the-subject-of-subjects-in-rxjs-2b08b7198b93) - πŸ“° - Ben Lesh +* [Official Overview](https://rxjs-dev.firebaseapp.com/guide/subject) πŸ“° +* [Official Documentation](http://reactivex.io/documentation/subject.html) πŸ“° +* [On The Subject Of Subjects (in RxJS)](https://medium.com/@benlesh/on-the-subject-of-subjects-in-rxjs-2b08b7198b93) πŸ“° - Ben Lesh diff --git a/subjects/asyncsubject.md b/subjects/asyncsubject.md index 12f1cdca..6f3da7f5 100644 --- a/subjects/asyncsubject.md +++ b/subjects/asyncsubject.md @@ -30,11 +30,10 @@ sub.complete(); //456, 456 logged by both subscribers ### Additional Resources -- [AsyncSubject](https://rxjs-dev.firebaseapp.com/api/index/class/AsyncSubject) - πŸ“° - Official docs -- [AsyncSubject](https://indepth.dev/reference/rxjs/subjects/async-subject) - In Depth Dev Reference +- [AsyncSubject](https://rxjs-dev.firebaseapp.com/api/index/class/AsyncSubject) πŸ“° - Official docs +- [AsyncSubject](https://web.archive.org/web/20230925063933/https://indepth.dev/reference/rxjs/subjects/async-subject) - In Depth Dev Reference --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/AsyncSubject.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/AsyncSubject.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/AsyncSubject.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/AsyncSubject.ts) diff --git a/subjects/behaviorsubject.md b/subjects/behaviorsubject.md index 54b2c32f..f1d45e31 100644 --- a/subjects/behaviorsubject.md +++ b/subjects/behaviorsubject.md @@ -111,9 +111,9 @@ merge(click$, interval$).subscribe(); - [BehaviorSubject](https://rxjs-dev.firebaseapp.com/api/index/class/BehaviorSubject) πŸ“° - Official docs -- [BehaviorSubject](https://indepth.dev/reference/rxjs/subjects/behavior-subject) - In Depth Dev Reference +- [BehaviorSubject](https://web.archive.org/web/20230608194245/https://indepth.dev/reference/rxjs/subjects/behavior-subject) - In Depth Dev Reference --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/BehaviorSubject.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/BehaviorSubject.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/BehaviorSubject.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/BehaviorSubject.ts) diff --git a/subjects/replaysubject.md b/subjects/replaysubject.md index 6973fcca..7a32b34b 100644 --- a/subjects/replaysubject.md +++ b/subjects/replaysubject.md @@ -49,9 +49,9 @@ sub.next(5); // OUTPUT => 5,5 (log from both subscribers) - [ReplaySubject](https://rxjs-dev.firebaseapp.com/api/index/class/ReplaySubject) πŸ“° - Official docs -- [ReplaySubject](https://indepth.dev/reference/rxjs/subjects/replay-subject) - In Depth Dev Reference +- [ReplaySubject](https://web.archive.org/web/20230529213815/https://indepth.dev/reference/rxjs/subjects/replay-subject) - In Depth Dev Reference --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/ReplaySubject.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/ReplaySubject.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/ReplaySubject.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/ReplaySubject.ts) diff --git a/subjects/subject.md b/subjects/subject.md index da7617be..b0d2908b 100644 --- a/subjects/subject.md +++ b/subjects/subject.md @@ -52,11 +52,10 @@ sub.next(3); // OUTPUT => Subscriber A 3, Subscriber B 3 (logged from both subsc ### Additional Resources -- [Subject](https://rxjs-dev.firebaseapp.com/api/index/class/Subject) πŸ“° - - Official docs -- [Subject](https://indepth.dev/reference/rxjs/subjects) - In Depth Dev Reference +- [Subject](https://rxjs-dev.firebaseapp.com/api/index/class/Subject) πŸ“° - Official docs +- [Subject](https://web.archive.org/web/20230601111248/https://indepth.dev/reference/rxjs/subjects) - In Depth Dev Reference --- > πŸ“ Source Code: -> [https://github.com/ReactiveX/rxjs/blob/master/src/internal/Subject.ts](https://github.com/ReactiveX/rxjs/blob/master/src/internal/Subject.ts) +> [https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/Subject.ts](https://github.com/ReactiveX/rxjs/blob/master/packages/rxjs/src/internal/Subject.ts) From 97e79ceac31ab62fac7793316a1a50441defc75b Mon Sep 17 00:00:00 2001 From: Bruno Ladeia Date: Sun, 14 Jan 2024 13:12:47 -0300 Subject: [PATCH 10/11] fix: boken links recipes page --- recipes/battleship-game.md | 2 +- recipes/gameloop.md | 4 ++-- recipes/http-polling.md | 2 +- recipes/progressbar.md | 2 +- recipes/stop-watch.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/recipes/battleship-game.md b/recipes/battleship-game.md index 30609a30..840e250a 100644 --- a/recipes/battleship-game.md +++ b/recipes/battleship-game.md @@ -556,7 +556,7 @@ export const COMPUTER = 'c'; - [map](../operators/transformation/map.md) - [merge](../operators/combination/merge.md) - [of](../operators/creation/of.md) -- repeatWhen +- [repeatWhen](../operators/utility/repeatwhen.md) - [scan](../operators/transformation/scan.md) - [switchMap](../operators/transformation/switchmap.md) - [take](../operators/filtering/take.md) diff --git a/recipes/gameloop.md b/recipes/gameloop.md index 4ac40f69..b4fea716 100644 --- a/recipes/gameloop.md +++ b/recipes/gameloop.md @@ -261,11 +261,11 @@ frames$ ### Operators Used - [buffer](../operators/transformation/buffer.md) -- [bufferCount](../operators/transformation/bufferCount.md) +- [bufferCount](../operators/transformation/buffercount.md) - [expand](../operators/transformation/expand.md) - [filter](../operators/filtering/filter.md) - [fromEvent](../operators/creation/fromevent.md) - [map](../operators/transformation/map.md) - [share](../operators/multicasting/share.md) - [tap](../operators/utility/do.md) -- [withLatestFrom](../operators/transformation/withlatestfrom.md) +- [withLatestFrom](../operators/combination/withlatestfrom.md) diff --git a/recipes/http-polling.md b/recipes/http-polling.md index 761b6d2f..b4552cdf 100644 --- a/recipes/http-polling.md +++ b/recipes/http-polling.md @@ -177,7 +177,7 @@ fromEvent(startButton, 'click') - [fromEvent](../operators/creation/fromevent.md) - [from](../operators/creation/from.md) - [map](../operators/transformation/map.md) -- [mapTo](../operators/transformation/mapTo.md) +- [mapTo](../operators/transformation/mapto.md) - [merge](../operators/combination/merge.md) - [mergeMap](../operators/transformation/mergemap.md) - [switchMap](../operators/transformation/switchmap.md) diff --git a/recipes/progressbar.md b/recipes/progressbar.md index 6373d8c3..8e9572a0 100644 --- a/recipes/progressbar.md +++ b/recipes/progressbar.md @@ -112,4 +112,4 @@ help with example!_ - [scan](../operators/transformation/scan.md) - [share](../operators/multicasting/share.md) - [switchMap](../operators/transformation/switchmap.md) -- [withLatestFrom](../operators/transformation/withlatestfrom.md) +- [withLatestFrom](../operators/combination/withlatestfrom.md) diff --git a/recipes/stop-watch.md b/recipes/stop-watch.md index 93a97e55..bd86fcc1 100644 --- a/recipes/stop-watch.md +++ b/recipes/stop-watch.md @@ -136,7 +136,7 @@ stopWatch$.subscribe(); - [interval](../operators/creation/interval.md) - [map](../operators/transformation/map.md) - [mapTo](../operators/transformation/mapto.md) -- [merge](../operators/transformation/map.md) +- [merge](../operators/combination/merge.md) - NEVER - noop - [scan](../operators/transformation/scan.md) From 13e140b294ab7e060d5c80e6fe0a31eb9c63a788 Mon Sep 17 00:00:00 2001 From: Bruno Ladeia Date: Sun, 14 Jan 2024 13:34:58 -0300 Subject: [PATCH 11/11] fix: broken links concepts page --- concepts/README.md | 2 +- concepts/get-started-transforming.md | 2 +- concepts/rxjs-primer.md | 2 +- concepts/rxjs5-6.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/concepts/README.md b/concepts/README.md index c20fa471..550aba95 100644 --- a/concepts/README.md +++ b/concepts/README.md @@ -6,5 +6,5 @@ Short explanations of common RxJS scenarios and use-cases. - [RxJS Primer](rxjs-primer.md) - [Get started transforming streams with map, pluck, and mapTo](get-started-transforming.md) -- [Time Based Operator Comparison](time-based-operator-comparison.md) +- [Time Based Operator Comparison](time-based-operators-comparison.md) - [RxJS v5 -> v6 Upgrade](rxjs5-6.md) diff --git a/concepts/get-started-transforming.md b/concepts/get-started-transforming.md index 74e91a98..84dfdd7c 100644 --- a/concepts/get-started-transforming.md +++ b/concepts/get-started-transforming.md @@ -155,7 +155,7 @@ than each value contained within an array. For instance, let's start with our initial example, but instead of transforming an array of numbers let's transform an observable of numbers. To do this, we -will use the [`from`](../operators/creation/from.mdl) creation operator to first +will use the [`from`](../operators/creation/from.md) creation operator to first convert our numbers array into an observable: ```js diff --git a/concepts/rxjs-primer.md b/concepts/rxjs-primer.md index b0d0325d..f5a3240c 100644 --- a/concepts/rxjs-primer.md +++ b/concepts/rxjs-primer.md @@ -478,7 +478,7 @@ behavior. For instance, suppose we wanted to make a request which saved user activity when they answered a quiz question. Our initial implementation may use the -[`mergeMap`](../opearators/transformation/mergemap.md) operator, which fires off +[`mergeMap`](../operators/transformation/mergemap.md) operator, which fires off a save request on each event: ```js diff --git a/concepts/rxjs5-6.md b/concepts/rxjs5-6.md index 8e6b821a..6ea40840 100644 --- a/concepts/rxjs5-6.md +++ b/concepts/rxjs5-6.md @@ -8,7 +8,7 @@ handy: TsLint rules for migration to RxJS 6. Auto-update project for new import paths and transition to pipeable operators. -### [RxJS v5.x to v6 Update Guide](https://github.com/ReactiveX/rxjs/blob/master/docs_app/content/guide/v6/migration.md) +### [RxJS v5.x to v6 Update Guide](https://github.com/ReactiveX/rxjs/blob/6.6.7/docs_app/content/guide/v6/migration.md) Comprehensive guide for updating your project from RxJS v5 to 6