INNER CODE UNIT · JavaScript
onClick
fsprojects/FSharp.Data.GraphQL · samples/apollo-client/src/QueryRunner.js:172
button onClick = { this.handleRun } > Run query < /button> <
/div> <
div >
<
p > Results are displayed here. < /p> <
p >
As explained above, queries are run by GraphQL over WebSocket protocol.If the query is a subscription or defer query, the client will wait
for subsequent responses from the Socket. <
/p> <
/div> <
div >
<
textarea cols = "100"
rows = "20"
value = { this.state.results } > < /textarea> <
/div> <
/div>
);