The setComponentNested() method jumps to a new component and closes the old one.
-
True
-
False
The setComponentNested() method opens a new component while keeping the old one open in a nested hierarchy. If you want to jump and close, you would use setComponent() instead.
This is a True/False item and the correct answer is False. The method name setComponentNested() signals a NESTED navigation: it opens/jumps to a new component while the previous component remains open underneath (nested), rather than closing it. A method that 'closes the old one' would be a non-nested replace/swap operation. Because 'nested' by definition means the prior component is retained, the assertion that setComponentNested() 'closes the old one' is incorrect. The API is framework-specific and not publicly documented, but the semantics of the name make False the defensible answer, matching the DB key.