Skip to content

Instantly share code, notes, and snippets.

View StevieAmb's full-sized avatar

Stevie Ambroise StevieAmb

  • Denver, CO
View GitHub Profile

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 😁

  1. What is a "data model", and how does it relate to the DOM in a front-end application?
  • A data model is the source of truth for all of the information that you are going to upload to a page. This relates to the DOM in the sense that you are going to be pulling the information that you want to upload onto the DOM to make your HTML more interactive from the data model. So any information you want the user to be able to interact with or use in any way, you are going to have that information come from the data model.
  1. What is a "framework?" And how does it differ from a "library?"
  • A framework and a library can actually seem very similar, and those words are sometimes used interchangeably. They are both a

Checklist/Rubric

To make a copy of this rubric:

  1. Click the button in the upper right-hand corner that says Fork. This is now your copy of the document.
  2. To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.

Part I: Creating Directories and Files; Initializing Git and Pushing to GitHub

  • I named my directories correctly.