From a2360f69bceccf536d77f73a0e775dc4b9cfc5e9 Mon Sep 17 00:00:00 2001 From: Victor Turansky Date: Sun, 6 Oct 2024 16:15:02 +0300 Subject: [PATCH] Readme. Fix links --- CHANGELOG.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3daf5e00f75c..013688751b97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -112,9 +112,10 @@ dependencies { * React. Suspend lambdas for effects * Instead of `EffectBuilder.cleanup` please use suspend functions with "auto-cleanup" like: - * `web.events.subscribe` ([example](examples/old/src/jsMain/kotlin/example/react/useEffectExamples.kt#L23)) - * `web.events.once` ([example](examples/old/src/jsMain/kotlin/example/react/useEffectExamples.kt#L47)) - * `web.animations.awaitAnimationFrame` ([example](examples/old/src/jsMain/kotlin/example/react/useEffectExamples.kt#L67)) + * `web.events.subscribe` ([example](examples/react/src/jsMain/kotlin/example/react/useEffectExamples.kt#L23)) + * `web.events.once` ([example](examples/react/src/jsMain/kotlin/example/react/useEffectExamples.kt#L47)) + * + `web.animations.awaitAnimationFrame` ([example](examples/react/src/jsMain/kotlin/example/react/useEffectExamples.kt#L67)) * "your custom suspend adapter" * If you need old-style cleanup registration, please use the following hooks: * `useEffectWithCleanup`