http://local.artsy.net:5000/collection/painting
http://local.artsy.net:5000/artist/amber-goldhammer
http://local.artsy.net:5000/artwork/amber-goldhammer-yes-please-and-thank-you
| import React, { useContext, useEffect, useMemo, useState } from "react" | |
| type ProviderComponent<T> = React.FC<{ initialValue: T }> | |
| interface PrivateContextValue<T> { | |
| useGlobalStateProxy(): T | |
| } | |
| class GlobalStateContext<T> { | |
| constructor(private context: React.Context<PrivateContextValue<T>>, public Provider: ProviderComponent<T>) {} | |
| } | |
| /** | 
| var fetch = require('node-fetch'); | |
| var fs = require('fs'); | |
| const { | |
| buildClientSchema, | |
| introspectionQuery, | |
| printSchema, | |
| } = require('graphql/utilities'); | |
| console.log(introspectionQuery); | 
| { | |
| // Use IntelliSense to learn about possible Node.js debug attributes. | |
| // Hover to view descriptions of existing attributes. | |
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "node", | |
| "request": "launch", | |
| "name": "Debug Build", | 
| import PropTypes from 'prop-types' | |
| import { Component } from 'react' | |
| import { Environment, Network, RecordSource, Store } from 'relay-runtime' | |
| export class RelayStubProvider extends Component { | |
| static propTypes = { | |
| children: PropTypes.node.isRequired, | |
| relay: PropTypes.object | |
| } | 
| const {send} = require('micro'); | |
| const bent = require('bent'); | |
| const wae = require('web-auto-extractor').default; | |
| const https = require('https'); | |
| const pelo = require('pelo'); | |
| const url = require('url'); | |
| const cheerio = require('cheerio'); | |
| const {GOODREADS_KEY} = require('./settings'); | |
| const getJSON = bent('json', 200); | |
| const getText = bent('string', 200); | 
| (ns nested-routing.core | |
| (:require [goog.events :as events] | |
| [goog.history.EventType :as EventType] | |
| [reagent.core :as reagent] | |
| [reagent.ratom :refer-macros [reaction]] | |
| [re-frame.core :refer [dispatch dispatch-sync register-handler register-sub subscribe]] | |
| [secretary.core :as secretary :refer-macros [defroute]]) | |
| (:import goog.History)) | |
| (declare route-components | 
I hereby claim:
To claim this, I am signing this object: