
const client = new ApolloClient({
link: createHttpLink(
{ uri: "https://snowtooth.moonhighway.com" }
),
cache: new InMemoryCache()
});
Links

"Miss! Miley Cyrus: Then and Now!"
"What's Cobie Smulders Going to Do?"
"Would Drew Barrymore Like That?"
"The Measles Are Back and So Are The Jonas Brothers!"
"Meryl Streep Is In It!"
"Lin-Manuel Miranda! It's Like If Pitbull Went to Vassar!"
"Lin-Manuel Miranda. It's Like If Pitbull Went to Vassar!"
"Miss! Are You Jealous Of Beyonce's Success?"
"Gentlemen! Any Thoughts On Kyra Sedgewick?"
"Chris Tucker's Back!"


Observable



Observer
Observer
Observer
observable.subscribe({
next: sentence =>
document.body.innerHTML = `<h1>${sentence}</h1>`,
complete: () =>
document.body.innerHTML = `<h1>It's Over!</h1>`,
error: error =>
console.error(error)
});"It's Television's Biggest Night. Can You Feel It?"
"Miss. It's Emma Stone. Are You Instantly Charmed?"
"Amy Adams!"
Observables Demo
Custom Link
HTTP Link
Concatenating Links
Terminating Link Lab
1. Create a link called filter link that will terminate (not forward to the next link) if a user says not to.
2. Have the user click yes or no with window.confirm.
Start Sandbox: https://bit.ly/terminating-link
Apollo Link
By Moon Highway
Apollo Link
- 663