This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////////////////////////////////////////////////////////// | |
// Exercise: | |
// | |
// Make `withMouse` a "higher-order component" that sends the mouse position | |
// to the component as props. | |
// | |
// Hint: use `event.clientX` and `event.clientY` | |
// | |
// Got extra time? | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var streamify = require('gulp-streamify'); | |
var uglify = require('gulp-uglify'); | |
var notify = require('gulp-notify'); | |
var gutil = require('gulp-util'); | |
var less = require('gulp-less'); | |
var rename = require('gulp-rename'); | |
var nodemon = require('gulp-nodemon'); | |
var jshint = require('gulp-jshint'); | |
var react = require('gulp-react'); |
OlderNewer