Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabbott/react-native-express
/ useStateArray.js
File
useStateArray.js
examples/files/hooks/useStateArray.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
React, { useState } from
'react'
2
import
{ View, Text, Button } from
'react-native'
3
4
const
randomDiceRoll = () => Math.floor(Math.random() * 6) + 1
Callers
nothing calls this directly
Calls
1
randomDiceRoll
Function · 0.85
Tested by
no test coverage detected