react-folder-tree
react-folder-tree copied to clipboard
remove console.log statements
Potentially using tooling like Uglify to remove console.log statements from the production package on npm.
sure! you are right maybe in production the default behavior should be no console.log when state change.
For now we can pass a noop function to prevent the default console.log
const onTreeStateChange = (state, event) => {}