Created
December 12, 2016 22:56
-
-
Save yuchi/8db27bcf23af3c822d79f672f0728255 to your computer and use it in GitHub Desktop.
Missing getters on Metal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class DropArea extends JSXComponent { | |
render() { | |
const validEntries = this.entries.filter(entry => entry.valid); | |
if (validEntries) return ( | |
<ul> | |
{ entries.map( | |
({title}) => | |
<li>{ title }</li> | |
) | |
} | |
</ul> | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment