Skip to content

Instantly share code, notes, and snippets.

@MarchCorbin
MarchCorbin / CorbinMarchpremod3deliverables.md
Last active June 25, 2020 21:09
Pre mod3 deliverables

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

  • A framework has libraries preinstalled and is in charge of the flow of the application. When using a library the developer dictates the flow of execution for the app.

Why should we consider using a framework over vanilla JS like you have been doing in mods 1 and 2?

  • It is more efficient, uses less code and lets us design UI mechanics while laying out the basic XML. Using vanilla JS this is a 2-3 step process and using a framework we can boil it down to 1-2 steps to get functionality working.

What is a "component" in React? Why is it useful to have components?

  • A component is a reusable piece of code. It can take the form of a function or a class and can be used multiple times throughout an application.

What is JSX?

  • JSX is the new syntax we will be using for react and other frameworks. It is a blend of HTML and JS with optional CSS applications as well. It allows the developer to write both the elements and their functionality at the
@MarchCorbin
MarchCorbin / lifecycle.md
Created July 2, 2020 00:53
Turing Homework the lifecycle

Mounting Phase

Constructor()

  • The constructor is used to set a template or a class for future iterations of the same class or using the state attribute to store and use data. This is read during the mounting phase.

render()

  • render is used to display visual data to the dom. It is initially read during the mounting phase or at page load but it also is read whenever there is an update or change during the updating phase.

componentDidMount()

  • This is the starting data. Most fetch calls will be made within this function and it is read at page load during the mounting phase.

Updating Phase

render()

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

@MarchCorbin
MarchCorbin / Corbin-March-mod3-career-journal.md
Last active October 3, 2020 18:23
Corbin March Mod 3 Career Journal

Mod 3 Week 1: Professional Storytelling II: Resumes & Portfolios

Refine your career vision: What are the values that will drive your job search?

  • I value honesty and ethical practices. A job that respects its employees and works to create rather than moderate.

What are your goals for your job search? What kind of role do you see yourself pursuing in your job search?

  • Working in video conferencing or in the entertainment industry would be ideal. A position that allows for a good level of creativity and a challenge.

Based on your latest version of your career vision, list the top 3-5 industries and companies you'll pursue in your job search as of right now. Why did you pick these industries/companies?

  • Video conferencing, Entertainment(movies), insurance, healthcare

How do they relate to the values and goals you have for yourself in your job search?

  • Most involve some level of creativity in the work place. All relate to the current state of the US and its shifting industries adapting to the vir
@MarchCorbin
MarchCorbin / AmyCorbinDTR
Created August 17, 2020 22:51
Amy Corbin DTR
Template for DTR Memo
Project:
Group Member Names:
Goals and Expectations for the Project (What does each group member hope to get out of this project?
amy: Learn React
corbin: Practice good routing organization
What do we want to achieve as a team? How will we know that we're successful?):
amy: Collaborate, help each other learn
corbin: Make a slick good looking and well working site.
# Problem
![Robot](https://media.giphy.com/media/I7kkegrRyNrk4/giphy.gif)
You are working with a computer simulation of a mobile robot. The robot moves on an plane, and its movements are described by a command string consisting of one or more
of the following letters:
* `G` instructs the robot to move forward one step
* `L` instructs the robot to turn left
* `R` instructs the robot to turn right