angular.io icon indicating copy to clipboard operation
angular.io copied to clipboard

DevGuide lifecycle-hooks issues

Open chalin opened this issue 10 years ago • 1 comments

  • [ ] mismatch between Spy Directive video and TS / Dart app behavior: there is no Spy #4 onInit generated. It goes directly to #5.

  • [ ] I don't understand the following statement in the prose; consider revising:

    We also see that the ngOnChanges method is called in contradiction of the incorrect API documentation.

  • [ ] Counter spy is not fully explained in the prose (maybe it is an exercise for the reader to study it?).

  • [ ] See #1286.

chalin avatar May 05 '16 12:05 chalin

There's also an issue https://github.com/angular/angular/issues/10221 about the documentation stating some hooks are only available to components, when in reality they're also available to directives.

Working on it, I'll make a PR soon.

Drumarcco avatar Nov 16 '16 20:11 Drumarcco