Skip to content

Instantly share code, notes, and snippets.

@zavier-sanders
zavier-sanders / ReactSPYouTubeClient
Created January 3, 2017 19:22
JavaScript code to render a YouTube Client, with instantaneous search.
import _ from 'lodash';
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import YTSearch from 'youtube-api-search';
//import components needed for the app
import SearchBar from './components/search_bar';
import VideoList from './components/video_list';
import VideoDetail from './components/video_detail';