A

Admin • 833.24K Points
Coach

Q. What does ChangeDetectorRef.detach() do?

  • (A) Destroys the component
  • (B) Stops change detection for the component
  • (C) Refreshes the view
  • (D) Triggers routing

Explanation by: Admin

detach() removes the component from change detection tree.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.