Skip to content

Instantly share code, notes, and snippets.

React Router Prework

This gist contains a short assignment I'd like everyone to complete before our formal lesson. The prework involves reading some of the React Router documentation, and will allow us to keep the lesson more hands on.

Instructions

  1. Fork this gist
  2. On your own copy, go through the listed readings and answer associated questions

You will not be turning this in; it's for your own understanding/learning/benefit 😁

@dstavis
dstavis / 0_reuse_code.js
Created March 12, 2014 23:23
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@dstavis
dstavis / 0.2.1-boggle_class_from_methods.rb
Last active January 2, 2016 10:29 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1 boggle class challenge
class BoggleBoard
def initialize(board)
@board = board
end
# method that maps through each
def create_word(*coords)
coords.map { |coord| @board[coord.first][coord.last] }.join("") #@board is a 2D array
end