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
  3. Comment a link to your forked copy on the original gist

Questions / Readings

Instructional Deliverables (Due Last Friday 5pm of Intermission Week)

Create a GitHub gist to answer these questions in as much detail as possible. Imagine someone is asking these questions in an interview (these are popular interview questions).

  • What is a "data model", and how does it relate to the DOM in a front-end application?
    • A data model is a representation of a data structure. It situates the data with how it relates to different elements of itself. In frond-end app development, the DOM is a data model that represents the information rendered to a user of our applications. It's what allows us to manipulate the contents/elements on our page. It's necessary to be able to keep the DOM up to date with our data, so it benefits us to have an efficient way to update our DOM.
  • What is a "framework?" And how does it differ from a "library?"
  • Both frameworks and libraries are collections of code designed to make our jobs easier as developers. However, they have some key distinctions. A framework (l
@kip-west
kip-west / beginners_guide_to_data_types.md
Last active March 19, 2020 17:38
Beginners Guide to Data Types

Guide to Data Types

1. String

  • Use: used to represent text data
  • Denoted by ' ' or " " marks.
  • example: "Peach" or "(303)555-5555" or "colorless green ideas sleep furiously"

2. Integer

  • Use: used to represent whole number data
  • Can be +, -, or 0 & manipulated mathematically
  • example: 1 or 1,375