AnimatePresence mode="wait" vs simultaneous mode for view swapping
I'm using Framer Motion's AnimatePresence to animate transitions when swapping between two views in a React app (for example, a detail panel replacing a list panel). The documented options are the default simultaneous mode, where the exiting and entering components animate at the same time, and mode="wait" (renamed from exitBeforeEnter in newer majors), wher