Skip to content

Commit

Permalink
Update README.md (#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
iahu committed Dec 28, 2023
1 parent d78f522 commit 6437d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ See the [Readme for the Babel plugin](../babel-plugin-signals-react/README.md) f
If you can't use the Babel transform, you can directly call the `useSignals` hook to make your components reactive.

```js
import { useSignals } from "@preact/signals-react";
import { useSignals } from "@preact/signals-react/runtime";

const count = signal(0);

Expand Down

0 comments on commit 6437d18

Please sign in to comment.