From 987906cf6fcee9547519868369c879c979c28199 Mon Sep 17 00:00:00 2001 From: Caleb Sacks <16855387+clabe45@users.noreply.github.com> Date: Mon, 17 Jul 2023 12:20:59 -0500 Subject: [PATCH] :memo: Document event deprecation --- CONTRIBUTING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8e8bb97e..22c12073 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -73,6 +73,8 @@ Check out [the user docs](https://etrojs.dev/docs/intro) for a high-level overvi ### Events +> Events were deprecated in v0.10.0 in favor of async methods with callbacks. + Events emitted by Etro objects use a [pub/sub system](https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern). To emit an event, use `event.publish(target, type, event)`. For instance, ```js