Optional childrenOptional strictIf true, will throw an error if a motion component renders within
a LazyMotion component.
// This component will throw an error that explains using a motion component
// instead of the m component will break the benefits of code-splitting.
function Component() {
return (
<LazyMotion features={domAnimation} strict>
<motion.div />
</LazyMotion>
)
}
Generated using TypeDoc
Can be used to provide a feature bundle synchronously or asynchronously.