8000 GitHub - nicolehle/drumkit-react: Created with CodeSandbox
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

nicolehle/drumkit-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Drumkit-react

Created with CodeSandbox A drum player with keyboard. Cliking is working as well.

Vanilla JS to React.js

It is one of projects, building vanila JavaScript learned from WesBos course to React.js

Component Tree


    -App(component)
          
    -DrumKeys(container)
               

Stateful Data

    
    isPlaying: false/true


Challenge / Solution

Challenge: in playSound function did not work. got error 'code' is undefined
Solution: this.props.code is undefined becuase playSound function hasn't bind with constructor.

Live Demo

https://codesandbox.io/s/github/nicolehle/drumkit-react

About

Created with CodeSandbox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0