Skip to content

Instantly share code, notes, and snippets.

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