Skip to content

Instantly share code, notes, and snippets.

@liondancer
liondancer / App.js
Created August 15, 2017 09:45 — forked from crittermike/App.js
Using Google API (gapi) with React
/* global gapi */
const API_KEY = 'YOURAPIKEYHERE';
import React, { Component } from 'react';
class App extends Component {
loadYoutubeApi() {
const script = document.createElement("script");