Currently there is a typo in the example links code in the documentation.
The variable should be link instead of webSocketHttpLink in the example code.
/* Using the ability to split links, you can send data to each link
depending on what kind of operation is being sent */
-let webSocketHttpLink =
+let link =
ApolloLinks.split(...
Currently there is a typo in the example links code in the documentation.
The variable should be
link
instead ofwebSocketHttpLink
in the example code.