Created
August 12, 2018 19:00
-
-
Save marcaaron/ce001c58310d08106716d6ea7aa3739d to your computer and use it in GitHub Desktop.
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
const FakeQuery = (props) => { | |
return props.children(); | |
} | |
const MyComponent = (props) => { | |
return ( | |
<FakeQuery> | |
{ () => { return null } } | |
</FakeQuery> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment