I am trying to use a SwitchTransition
component. Unfortunately, the code in the docs is not a complete example and I'm having trouble filling in the blanks. Does anyone have a simple example of this component being used, such as a CSS fade-out then fade-in?
I can't find any examples online. Does this mean that there is another common approach that I'm overlooking? Thanks!