You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.