A simple React app using components, state, an array and defaultProps. The roll method can pick a random element from the array for each die, then update the state, causing the dice to re-render to the appropriate values.
-
Notifications
You must be signed in to change notification settings - Fork 0
A simple React app using components, state, an array and defaultProps. The roll method can pick a random element from the array for each die, then update the state, causing the dice to re-render to the appropriate values.
dadapunk/dice-reactjs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A simple React app using components, state, an array and defaultProps. The roll method can pick a random element from the array for each die, then update the state, causing the dice to re-render to the appropriate values.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published