The code below uses KeepAlive and logs the component lifecycle events. You need to determine the exact console output after the scenario runs.
stdout string in full, preserving the order of lines and line breaks.main.ts file as the application entry point.main.ts performs all the toggles itself and prints the accumulated log at the end.npm install
npm run dev
3.5.135.8.3createApp#app containerawait nextTick() fully separates each visibility toggle in the scenarioClick a line and write what it prints. Explanation is optional.