Skip to content

Commit

Permalink
Readme. Fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
turansky committed Oct 6, 2024
1 parent ec380ca commit a2360f6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit a2360f6

Please sign in to comment.