Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
const {
props: {
doc: { completed = false }
},
state: { editing, value }
} = this;
return (
<li>
<div>
<input type="checkbox" checked="{completed}">
<label>{value}</label>
<button type="button"></button></div></li>