Skip to content

Instantly share code, notes, and snippets.

@mikecrittenden
mikecrittenden / App.js
Last active May 4, 2021
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");