StackTransitionRetentionPolicy
Selects the stack keys whose external transitions participate in render retention.
Implementations should return keys from stack and may additionally return transitionSource when it represents an item leaving the stack.