We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 464ff31 commit 57ed71eCopy full SHA for 57ed71e
βsrc/content/reference/api/usereactivevalue.md
@@ -35,7 +35,7 @@ public class Player: MonoBehaviour {
35
And then accessed in React via the hook:
36
```js
37
// JS
38
-export default function ScoreTracker() {
+export function ScoreTracker() {
39
const {Player} = useGlobals();
40
// will trigger a re-render when Score changes
41
const score = useReactiveValue(Player.Score);
@@ -106,5 +106,4 @@ export function DrawItems() {
106
107
// return drawn items
108
}
109
-
110
+```
0 commit comments