You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/code/index.html.js
+13-22Lines changed: 13 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -10,18 +10,14 @@ var React = require('react');
10
10
varSite=require('../_core/Site');
11
11
varMarked=require('../_core/Marked');
12
12
13
-
varCode=React.createClass({
14
-
render: function(){
15
-
varpage=this.props.page;
16
-
varsite=this.props.site;
17
-
return(
18
-
<Sitesection="code"title="Code"page={page}>
19
-
20
-
<section>
21
-
<divclassName="documentationContent">
22
-
<divclassName="inner-content">
23
-
<h1>Code</h1>
24
-
<Marked>{`
13
+
exportdefault({ page, site })=>
14
+
<Sitesection="code"title="Code"page={page}>
15
+
16
+
<section>
17
+
<divclassName="documentationContent">
18
+
<divclassName="inner-content">
19
+
<h1>Code</h1>
20
+
<Marked>{`
25
21
26
22
Many different programming languages support GraphQL. This list contains some of the more popular server-side frameworks, client libraries, and other useful stuff.
27
23
@@ -333,15 +329,10 @@ Code that executes a hello world GraphQL query with \`graphql-clj\`:
333
329
334
330
- [awesome-graphql](https://github.com/chentsulin/awesome-graphql): A fantastic community maintained collection of libraries, resources, and more.
0 commit comments