Component not working on Angular 5
See original GitHub issueIn Angular 5 @angular/http
is now deprecated and no longer exists. Now you need to use HttpClient
from @angular/common/http
. Please fix this. The component is not compilling in the current version
Issue Analytics
- State:
- Created 6 years ago
- Comments:6
Top Results From Across the Web
angular 5 routing on same component is not working
If you are staying on the same path that you are trying to route to , Angular router won't re-initialize the component.
Read more >Upgrading from AngularJS to Angular
This not only makes components easy to navigate and find, but will also allow us ... which in turn is a superset of...
Read more >Using Angular routes in a single-page application
This tutorial describes how to build a single-page application, SPA that uses multiple Angular routes. In a Single Page Application (SPA), all of...
Read more >Lazy-loading feature modules - Angular
To lazy load Angular modules, use loadChildren (instead of component ) in your AppRoutingModule routes configuration as follows. AppRoutingModule (excerpt)
Read more >Input - Angular
By default, the original name of the bound property is used for input binding. The following example creates a component with two input...
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
I had the same error and fixed it by adding
"@angular/http": "^5.0.2"
to the dependencies, even if i use@angular/common/http
This issue seems to be solved by this commit : https://github.com/akveo/ng2-smart-table/commit/1d51de2