Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

docs(rc4-to-rc5): change cleanup #2516

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions public/docs/ts/latest/cookbook/rc4-to-rc5.jade
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,5 @@ code-example(format='.' language='javascript').

:marked
## 5. Cleanup
For RC5, you can leave your components, directives and pipes
in the `directives` and `pipes` properties of your `@Component` metadata.
In fact, we automatically hoist (add) them to the NgModule to which they belong.

.alert.is-important
:marked
This option is temporary for backward compatibility.
It will be removed in the final release of Angular 2.0.

Get ahead of the game and start moving your component `directives` and `pipes`
into module `declarations` as soon as possible.
We intend to delete _all_ deprecated class, methods, and properties in the next RC.
Remove all the `directives` and `pipes` properties of your `@Component` metadata. They no
longer exist in Angular.