Giter Site home page Giter Site logo

m4-dq4-passing-callbacks-to-comrade-hogs-in-react-seattle-web-071519's Introduction

Danger Will Hoginson, Danger!

WARNING: This lab contains potentially disrupting sounds. Please be conscious of other students around you who may not be fully immersed in the hog heaven that you are soon to be. Either use headphones OR mute your computer before starting this lab!

Oh no! Schmutziges hog GalaxySNote7 is at it again!

No longer content grounding planes and delaying flights, this greased up hog is now stirring up trouble in the pig pen!

We know he is a filthy fellow, but which one? Rumor has it he was hanging out with Truffle Shuffle earlier, cramming his greedy little snout into the ground.

Find GalaxySNote7 and help him alert his fellow hogs when someone touches his snout.

Deliverables:

  • See the sample video stored in ./public for an idea on how to get started
  • On click, GalaxySNote7 should trigger a change in state for the pig pen's environment
  • Galaxy and his hog cadre should react to this change in their environment and use the exclaim method to render their warnings
  • Think about what components should own what information
  • Adhere to React patterns --> information propagates up and down the component tree, but not sideways
  • Understanding this, draw out the component tree with your group. A component tree should show the components and the data (props!) that are communicated between them
  • After at least two seconds, things in the pig pen should cool off, and the environment should return to normal (this means we should be able to click on GalaxySNote7 again, instigating the same chain of events all over again AFTER he has cooled his jets)
  • Once GalaxySNote7 is successfully instigating panic when he is tickled, incorporate the sounds where you see fit!

m4-dq4-passing-callbacks-to-comrade-hogs-in-react-seattle-web-071519's People

Contributors

danielseehausen avatar thuyanduong-flatiron avatar maxwellbenton avatar

Watchers

James Cloos avatar Kevin McAlear avatar  avatar Mohawk Greene avatar Victoria Thevenot avatar Belinda Black avatar Bernard Mordan avatar raza jafri avatar  avatar Joe Cardarelli avatar The Learn Team avatar Sophie DeBenedetto avatar  avatar  avatar Matt avatar Antoin avatar Alex Griffith avatar  avatar Amanda D'Avria avatar  avatar Nicole Kroese  avatar Kaeland Chatman avatar Lisa Jiang avatar Vicki Aubin avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.