loading code fetching the highlighted snippet
Wrap m.* components in LazyMotion and pass a feature bundle. The element still animates on mount, while gesture support comes from the selected bundle.
LazyMotion provides the active feature bundle through context.
Descendant m.* elements read that context before attaching gesture, drag,
or layout behavior.domAnimation is the usual interactive bundle: mount/update animations plus
hover, tap, focus, pan, and in-view gestures.domMin keeps animation only, domAnimation enables gestures, and domMax adds drag/layout behavior for the subtree.
m.div receives different runtime capabilities depending on the
nearest LazyMotion provider.domMax.