diff --git a/README.md b/README.md index b0d097f..88c83dc 100644 --- a/README.md +++ b/README.md @@ -86,9 +86,9 @@ function Animation(props) { > > animationItem?.addEventListener("complete", completeHandler); // Don’t do this > }, [animationItem]); +> ``` > > This is due to how `lottie-web` internally handles events. -> ``` ## Why?