Skip to content

Instantly share code, notes, and snippets.

View aburg15's full-sized avatar

Adam Burgess aburg15

  • Denver, CO
View GitHub Profile

React Router Prework

This gist contains a short assignment we'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 😁

What is a "data model", and how does it relate to the DOM in a front-end application?

A data model is the one source of truth for a particular application. A data model can take the shape of an array, an object, etc. A data model relates to the DOM in a front-end application by the DOM components being contrived from the underlying data model.

What is a "framework?" And how does it differ from a "library?"

A framework is a "collection" of pre-written code that helps developers avoid having to write routine lines of code over and over. A framework essentially makes writing code much more quickly and efficient due to the developer being able to use a provided template that does not need to be repeatedly re-written.

The difference between a "framework" and a "library" is that a framework is more widespread when using on an application. A framework has certain rules and restrictions that a developer must abide by. A libraray in its simplest terms can be a function or group of functions that may hel

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.