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?**
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:5 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sounds good. Please assign to me if it’s still available.
@sonukapoor, if you need any help with the PR, please let me know. Thank you!!