Jul 21, 2017 · 1 min read
I didn’t actually write any CSS for this (except for the colors to easily differentiate the two loactions). The idea with these demos was for it to be obvious that the first one is incorrect (the exiting <Switch> is being rendered using the new location) while the second one is correct (the exiting <Switch> is being rendered using the previous location).
I will add a quick note to the story that makes it obvious that I am leaving the fancy CSS to the user.
