add a link to instances guide from useInstance
This commit is contained in:
@@ -6,7 +6,7 @@ meta:
|
|||||||
|
|
||||||
# useInstance
|
# useInstance
|
||||||
|
|
||||||
You can use `useInstance` to get the current instance within a component. This can be used to let a component destroy or deactivate itself.
|
You can use `useInstance` to get the current [instance](/guides/sending-messages) within a component. This can be used to let a component destroy or deactivate itself.
|
||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
import { Button, useInstance } from "reacord"
|
import { Button, useInstance } from "reacord"
|
||||||
|
|||||||
Reference in New Issue
Block a user