While reviewing Vue component lifecycle, a chart library needs its container element. Which action best addresses the problem?
Answer options
- A. Initialize it in onMounted
- B. Remove it in onUnmounted
- C. Measure in onUpdated or nextTick
- D. Register lifecycle cleanup inside it