Skip to content

Instantly share code, notes, and snippets.

View taleschaves's full-sized avatar

Tales Marchesan taleschaves

  • Netflix
  • San Diego, CA
View GitHub Profile
import { useMemo } from 'react';
import { ApolloClient, InMemoryCache, split, HttpLink } from '@apollo/client';
let apolloClient;
const BFF = new HttpLink({
uri: '/graphql',
headers: { 'schema-variant': 'integration' }
});
const ContentPerf = new HttpLink({
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
class HockeyAppClient
ANDROID_HPTPM_V1 = '/download/HPTPM_v1-0.apk'
ANDROID_APP_VERSION = '1.4.11'
attr_reader :platform
def initialize(platform = 'Android', fallback_url = ANDROID_HPTPM_V1)
@platform = platform
@fallback_url = fallback_url
@connection = HockeyApp.build_client(token: KeyManagement.HockeyAppAPIToken)