question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

docs: observables examples hard-coded and outdated

See original GitHub issue

📚 Docs or angular.io bug report

Description

The Comparing Observables guide shows examples with the old, obsolete syntax of having operators on the Observable prototype, instead of using .pipe().

Also, the examples are hard-coded, instead of being extracted from actual mini-apps, which would prevent the code from getting out-of-date or break.

🔬 Minimal Reproduction

What’s the affected URL?**

https://angular.io/guide/comparing-observables

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
sonukapoorcommented, Dec 9, 2019

Sounds good. Please assign to me if it’s still available.

1reaction
kapunahelewongcommented, Dec 9, 2019

@sonukapoor, if you need any help with the PR, please let me know. Thank you!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular Basics: Introduction to Observables (RxJS)—Part 1
A set of observable creation functions. Observable creation functions make it easy to create observables from common data sources—for example, ...
Read more >
How to create an Observable from static data similar to http ...
It worked! I was trying many things like Observable.from() etc.. The API documentation for Observable isn't the cleanest/most user-friendly at this point!
Read more >
Custom elements
Custom elements provide a convenient way of injecting components into your views. Introduction; Example; Passing parameters. Communication between parent and ...
Read more >
Using observables to pass values - Angular
Observables provide support for passing messages between parts of your application. They are used frequently in Angular and are a technique for event ......
Read more >
The "component" binding - Knockout.js
See an example and registration documentation. ... In this case, if it changes, the component binding will dispose the old component instance, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found