1. What is OnInitialized ? Junior A. the lifecycle method that runs after a component receives new values from its parent, before rendering B. the boolean argument that lets the after-render hook distinguish the very first paint from subsequent updates C. the lifecycle method that runs once when a component is first created, ideal for initial data setup D. the lifecycle method that runs after the component has been painted to the DOM, the safe place for JS interop Reveal the answer + AI explanation — free account
2. Which term means: "the lifecycle method that runs once when a component is first created, ideal for initial data setup"? Junior A. OnInitialized B. firstRender flag C. ShouldRender D. OnParametersSet Reveal the answer + AI explanation — free account
3. Which statement is correct? Junior A. OnInitialized — the lifecycle method that runs after a component receives new values from its parent, before rendering B. OnInitialized — the interface a component implements to release resources such as timers or subscriptions when it is destroyed C. OnInitialized — the lifecycle method that runs once when a component is first created, ideal for initial data setup D. OnInitialized — the lifecycle method that runs after the component has been painted to the DOM, the safe place for JS interop Reveal the answer + AI explanation — free account
4. What is OnParametersSet ? Mid A. the lifecycle method that runs after a component receives new values from its parent, before rendering B. the overridable method returning a boolean that lets a component skip re-rendering to optimize performance C. the lifecycle method that runs once when a component is first created, ideal for initial data setup D. the boolean argument that lets the after-render hook distinguish the very first paint from subsequent updates Reveal the answer + AI explanation — free account
5. Which term means: "the lifecycle method that runs after a component receives new values from its parent, before rendering"? Mid A. OnInitialized B. OnAfterRender C. OnParametersSet D. firstRender flag Reveal the answer + AI explanation — free account
6. Which statement is correct? Mid A. OnParametersSet — the lifecycle method that runs after the component has been painted to the DOM, the safe place for JS interop B. OnParametersSet — the boolean argument that lets the after-render hook distinguish the very first paint from subsequent updates C. OnParametersSet — the lifecycle method that runs after a component receives new values from its parent, before rendering D. OnParametersSet — the lifecycle method that runs once when a component is first created, ideal for initial data setup Reveal the answer + AI explanation — free account
7. What is OnAfterRender ? Mid A. the lifecycle method that runs after the component has been painted to the DOM, the safe place for JS interop B. the overridable method returning a boolean that lets a component skip re-rendering to optimize performance C. the lifecycle method that runs once when a component is first created, ideal for initial data setup D. the interface a component implements to release resources such as timers or subscriptions when it is destroyed Reveal the answer + AI explanation — free account
8. Which term means: "the lifecycle method that runs after the component has been painted to the DOM, the safe place for JS interop"? Mid A. OnParametersSet B. OnInitialized C. IDisposable in components D. OnAfterRender Reveal the answer + AI explanation — free account
9. Which statement is correct? Mid A. OnAfterRender — the lifecycle method that runs after the component has been painted to the DOM, the safe place for JS interop B. OnAfterRender — the interface a component implements to release resources such as timers or subscriptions when it is destroyed C. OnAfterRender — the overridable method returning a boolean that lets a component skip re-rendering to optimize performance D. OnAfterRender — the boolean argument that lets the after-render hook distinguish the very first paint from subsequent updates Reveal the answer + AI explanation — free account
10. What is firstRender flag ? Mid A. the lifecycle method that runs after the component has been painted to the DOM, the safe place for JS interop B. the lifecycle method that runs after a component receives new values from its parent, before rendering C. the interface a component implements to release resources such as timers or subscriptions when it is destroyed D. the boolean argument that lets the after-render hook distinguish the very first paint from subsequent updates Reveal the answer + AI explanation — free account
11. Which term means: "the boolean argument that lets the after-render hook distinguish the very first paint from subsequent updates"? Mid A. OnAfterRender B. IDisposable in components C. ShouldRender D. firstRender flag Reveal the answer + AI explanation — free account
12. Which statement is correct? Mid A. firstRender flag — the interface a component implements to release resources such as timers or subscriptions when it is destroyed B. firstRender flag — the lifecycle method that runs after the component has been painted to the DOM, the safe place for JS interop C. firstRender flag — the boolean argument that lets the after-render hook distinguish the very first paint from subsequent updates D. firstRender flag — the overridable method returning a boolean that lets a component skip re-rendering to optimize performance Reveal the answer + AI explanation — free account
13. What is ShouldRender ? Senior A. the boolean argument that lets the after-render hook distinguish the very first paint from subsequent updates B. the lifecycle method that runs once when a component is first created, ideal for initial data setup C. the lifecycle method that runs after a component receives new values from its parent, before rendering D. the overridable method returning a boolean that lets a component skip re-rendering to optimize performance Reveal the answer + AI explanation — free account
14. Which term means: "the overridable method returning a boolean that lets a component skip re-rendering to optimize performance"? Senior A. ShouldRender B. OnAfterRender C. IDisposable in components D. OnInitialized Reveal the answer + AI explanation — free account
15. Which statement is correct? Senior A. ShouldRender — the lifecycle method that runs after a component receives new values from its parent, before rendering B. ShouldRender — the overridable method returning a boolean that lets a component skip re-rendering to optimize performance C. ShouldRender — the interface a component implements to release resources such as timers or subscriptions when it is destroyed D. ShouldRender — the boolean argument that lets the after-render hook distinguish the very first paint from subsequent updates Reveal the answer + AI explanation — free account
16. What is IDisposable in components ? Senior A. the lifecycle method that runs once when a component is first created, ideal for initial data setup B. the overridable method returning a boolean that lets a component skip re-rendering to optimize performance C. the interface a component implements to release resources such as timers or subscriptions when it is destroyed D. the lifecycle method that runs after the component has been painted to the DOM, the safe place for JS interop Reveal the answer + AI explanation — free account
17. Which term means: "the interface a component implements to release resources such as timers or subscriptions when it is destroyed"? Senior A. IDisposable in components B. OnInitialized C. OnAfterRender D. firstRender flag Reveal the answer + AI explanation — free account
18. Which statement is correct? Senior A. IDisposable in components — the boolean argument that lets the after-render hook distinguish the very first paint from subsequent updates B. IDisposable in components — the overridable method returning a boolean that lets a component skip re-rendering to optimize performance C. IDisposable in components — the lifecycle method that runs after a component receives new values from its parent, before rendering D. IDisposable in components — the interface a component implements to release resources such as timers or subscriptions when it is destroyed Reveal the answer + AI explanation — free account