Skip to content

Instantly share code, notes, and snippets.

View Micspr's full-sized avatar

Michael Spraggins Micspr

  • Seattle
View GitHub Profile

React Router Authorization Instructor Notes

Objectives

  • Identify what happens when the applications loads
  • Identify where user information is stored
  • Explain how the AuthorizedRoute uses authentication information to determine what to do
  • Describe how the authentication informations is set, and where
  • Explain how the authentication information is used to make decisions in the Header and BlogPost components
  • Explain how the authentication information passed to the Header and BlogPost component

React Router Instructor Notes

Objectives

  • Add Routing between 2 pages to react
  • Use Link to change urls
  • Access values from the url to a url and pass it to a component
  • Pass data to route components
  • Manage page travesal programatically
  • Use <Redirect /> to move from route to route
  • Explain how using redux changes the architecture of a react project that uses routes
@Micspr
Micspr / redux-apis.md
Created January 8, 2019 17:33 — forked from Shurlow/redux-apis.md
Redux with APIs lesson notes

Redux with APIs

Objectives

  • Update state based on API calls with Redux

Exercise

Start by cloning and setting up the API for this lesson:

@Micspr
Micspr / redux.md
Created January 7, 2019 17:33 — forked from Shurlow/redux.md
Redux lesson notes

Introduction to Redux

Objectives

  • Describe the purpose of Redux
  • Utilize Redux apart from React to manage state
  • Integrate Redux into an existing React application

Guiding Questions

@Micspr
Micspr / react-api-lesson.md
Created January 2, 2019 17:39 — forked from Shurlow/react-api-lesson.md
React with API

React + API

  • Describe what causes a react component to re-render
  • Explain what component lifecycle methods are
  • Connect a component to an API
    • Retrieve data
    • Post new data

When does a react component render?

Turn to your neighbor and discuss how react components render. What causes a component to update (re-render)?

@Micspr
Micspr / binary-search-trees.md
Last active December 17, 2018 18:24 — forked from Shurlow/binary-search-trees.md
Binary Search Trees Lesson Notes

Binary Search Trees

Objectives

  • Define what a binary search tree is
  • Explain why binary search trees are useful
  • Write pseudo code to traverse a binary search tree
  • Explain the difference between depth first search methods (pre-order, in-order, post-order)
  • Describe the Big O of binary search tree methods
  • Implement binary search tree methods
@Micspr
Micspr / custom-data-structures.md
Created December 13, 2018 17:29 — forked from Shurlow/custom-data-structures.md
Lesson on creating custom data structures

Custom Data Structures

Objectives

  • Explain what a data structure is
  • Use JavaScripts Map data structure
  • Use JavaScripts Set data structure
  • Build a custom data structure

Explain what a data structure is

@Micspr
Micspr / this.md
Last active December 10, 2018 19:27 — forked from Shurlow/this.md

this keyword

Objectives

  • Explain the difference between a function and a method
  • Create basic objects with methods
  • Explain what the this keyword is
  • Use call/bind to mantain this context
  • Use es6 arrow functions to preserve this context

Guiding Questions

Query Builder Instructor Notes

Objectives

  • List the 5 crud operations, what information the request has, and what information is in the respose
  • Define what Knex.js is
  • Follow the request response cycle for an API that uses databases
  • Explain what how the model and the controller are working together to compose a response
  • Describe what happens when you throw inside a promise callback.
  • Describe how a database is set up.
  • Create a select all controller and model
@Micspr
Micspr / 01-SQL-Joins.md
Created November 13, 2018 19:35 — forked from Shurlow/01-SQL-Joins.md
SQL Joins Lesson Notes

SQL Joins

Objectives

  • Explain what a Relational Databases is
  • Describe why Relational Databases are useful
  • Diagram 1-to-many & many-to-many relationships with ERDs
  • Create primary and foreign keys on tables
  • Join tables with SQL
  • Use aggregate & group by queries