File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ _[GraphQL Weekly #42](https://graphqlweekly.com/issues/42)_
20
20
- "Skip Relay" option that simplifies graph by removing Relay wrapper classes
21
21
- Ability to choose any type to be a root of the graph
22
22
23
- ## Usage
23
+ ## API
24
24
25
25
GraphQL Voyager exports ` Voyager ` React component and helper ` init ` function. If used without
26
26
module system it is exported as ` GraphQLVoyager ` global variable.
@@ -53,7 +53,7 @@ The signature of the `init` function:
53
53
- ` hostElement ` - parent element
54
54
- ` options ` - is the JS object with [ properties] ( #properties ) of ` Voyager ` component
55
55
56
- ### Using pre-bundled version
56
+ ## Using pre-bundled version
57
57
58
58
You can get GraphQL Voyager bundle from the following places:
59
59
@@ -62,13 +62,13 @@ You can get GraphQL Voyager bundle from the following places:
62
62
- latest version - https://cdn.jsdelivr.net/npm/graphql-voyager/dist/voyager.standalone.js
63
63
- from ` dist ` folder of the npm package ` graphql-voyager `
64
64
65
- ** The HTML example** : [ example/cdn/index.html ] ( ./example/cdn/index.html ) )
65
+ ### [ ** The HTML example** ] ( ./example/cdn )
66
66
67
- ### Using as a dependency
67
+ ## Using as a dependency
68
68
69
69
Build for the web with [ webpack] ( https://webpack.js.org/ ) , or any other bundle.
70
70
71
- ** The minimal webpack setup** : [ example/webpack ] ( ./example/webpack ) )
71
+ ### [ ** The minimal webpack setup** ] ( ./example/webpack )
72
72
73
73
## Middleware
74
74
You can’t perform that action at this time.
0 commit comments