Title: Documentation straddles HttpModule and HttpClientModule · Issue #19280 · angular/angular · GitHub
Open Graph Title: Documentation straddles HttpModule and HttpClientModule · Issue #19280 · angular/angular
X Title: Documentation straddles HttpModule and HttpClientModule · Issue #19280 · angular/angular
Description: I'm submitting a... [X ] Documentation issue or request Current behavior The Tutorial at https://angular.io/tutorial/toh-pt6 uses HttpModule, while the Fundamentals information at https://angular.io/guide/http uses HttpClientModule. Acco...
Open Graph Description: I'm submitting a... [X ] Documentation issue or request Current behavior The Tutorial at https://angular.io/tutorial/toh-pt6 uses HttpModule, while the Fundamentals information at https://angular.i...
X Description: I'm submitting a... [X ] Documentation issue or request Current behavior The Tutorial at https://angular.io/tutorial/toh-pt6 uses HttpModule, while the Fundamentals information at https://angul...
Opengraph URL: https://github.com/angular/angular/issues/19280
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Documentation straddles HttpModule and HttpClientModule","articleBody":"## I'm submitting a...\r\n\u003c!-- Check one of the following options with \"x\" -->\r\n\u003cpre>\u003ccode>\r\n[X ] Documentation issue or request\r\n\u003c/code>\u003c/pre>\r\n\r\n## Current behavior\r\n\u003c!-- Describe how the issue manifests. -->\r\nThe Tutorial at https://angular.io/tutorial/toh-pt6 uses HttpModule, while the Fundamentals information at https://angular.io/guide/http uses HttpClientModule. \r\n\r\nAccording at least to https://stackoverflow.com/questions/45129790/difference-between-http-and-httpclient-in-angular-4, \"Use the HttpClient class from HttpClientModule if you're using Angular 4.3.x and above\" and that HttpModule will be deprecated.\r\n\r\n\r\n## Expected behavior\r\n\u003c!-- Describe what the desired behavior would be. -->\r\nIt would be good to have the Tutorial use the newer functionality, particularly since the older functionality is to be deprecated.\r\n\r\nUntil that is implemented, there should be a warning on the Tutorial page that HttpModule is soon to be deprecated, and there should be a warning on the Fundamentals page that HttpClientModule only works if you have Angular 4.3.x or above (ideally with a description of how to check the version).\r\n\r\n## Minimal reproduction of the problem with instructions\r\n\u003c!--\r\nFor bug reports please provide the *STEPS TO REPRODUCE* and if possible a *MINIMAL DEMO* of the problem via\r\nhttps://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).\r\n-->\r\nhttps://angular.io/tutorial/toh-pt6 uses HttpModule\r\nhttps://angular.io/guide/http uses HttpClientModule\r\n\r\n## What is the motivation / use case for changing the behavior?\r\n\u003c!-- Describe the motivation or the concrete use case. -->\r\nThere are many differences between HttpModule and HttpClientModule such as in the ways that JSON objects are handled, and it would be good to have examples of using them in a program with the object complexity of the Tutorial. There are so many interactions with other complex functionality such as RxJS that writing one's first code without the Tutorial is not straightforward.\r\n## Environment\r\n\r\n\u003cpre>\u003ccode>\r\nAngular version: 4.4.1\r\n\u003c!-- Check whether this is still an issue in the most recent Angular version -->\r\n\r\nBrowser:\r\n- [X ] Chrome (desktop) version 61.0.3163.91\r\n \r\nFor Tooling issues:\r\n- Node version: XX \u003c!-- run `node --version` -->\r\n- Platform: \u003c!-- Mac, Linux, Windows -->\r\n\r\nOthers:\r\n\u003c!-- Anything else relevant? Operating system version, IDE, package manager, HTTP server, ... -->\r\n\u003c/code>\u003c/pre>\r\n","author":{"url":"https://github.com/MickeySegal","@type":"Person","name":"MickeySegal"},"datePublished":"2017-09-19T21:30:22Z","url":"https://github.com/angular/angular/issues/19280"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:40e6e644-e0ab-6877-f9b6-7ccf93045e55 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 94A0:DB09F:B82812:EC347D:6B00FC8A |
| html-safe-nonce | 53b62175fc333f569f22e141d45193c55d0d995355d21d24ecc696c21f14a0aa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEEwOkRCMDlGOkI4MjgxMjpFQzM0N0Q6NkIwMEZDOEEiLCJ2aXNpdG9yX2lkIjoiMTY0NDY0MzMwMTI3OTcyNjczMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fe108791446c29b43337266a5596fa3deff0f6027cee5575a2ffabb611f9a8cf |
| hovercard-subject-tag | issue:258970567 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/19280/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dd68147a17956b300759881908dc9ea23d852f459b866c8b202cf33707c10cca/angular/angular/issues/19280 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dd68147a17956b300759881908dc9ea23d852f459b866c8b202cf33707c10cca/angular/angular/issues/19280 |
| og:image:alt | I'm submitting a... [X ] Documentation issue or request Current behavior The Tutorial at https://angular.io/tutorial/toh-pt6 uses HttpModule, while the Fundamentals information at https://angular.i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MickeySegal |
| hostname | github.com |
| expected-hostname | github.com |
| None | e208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7dafd017fb7809a839c443dba08622af38e63c09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width