add a link to instances guide from useInstance

This commit is contained in:
MapleLeaf
2022-01-11 16:36:29 -06:00
parent c654b1ac3b
commit 752402a177

View File

@@ -6,7 +6,7 @@ meta:
# 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
import { Button, useInstance } from "reacord"