Discuss in words something you learned in class today or this week.

check my last blog

Explain the use cases for, and differences between — bind, apply and call.

this gets pretty in-depth depending on your level of understanding of the concept of in JavaScript.

assuming that you fully understand that:

will bind to an object of your choice, even when it is called outside of that context (where it was first defined in some method on a different object). it is used for a later callback (as you create a new variable to bind).

does…


Discuss in words something you learned in class today or this week.

this week was more about bringing together all of 411 in one big project, and even bringing a lot of things back from 311 (like debugging, minifying, npm folder structure, etc.) and lighting them in the context of actual front-end development. i definitely learned a lot about redux in the process of tying together our final project (other than the capstone).

What is Redux Thunk used for?

straight from the horse’s mouth (redux-thunk’s github repo readme.md… that’s quite a mouthful… even for a horse):

A thunk is a…


What is Redux?

A Predictable State Container for JS Apps

What is ‘Store’ in Redux?

in redux, this is where your state, reducers, and middleware are combined. for example:

import { createStore } from 'redux'
import reducers from './reducers'
import state from './state'
export default createStore(reducers, state)

in the above example i left out middleware for the sake of simplicity.

How is state changed in Redux?

by dispatching actions to the reducer via a redux container (which is simply a regular component that is “connected” to redux — see below).

What is the difference between a Presentational component and a…


What are “actions” in Redux?

this is answered a couple of questions below.

What is the role of reducers in Redux?

so is this one.

What is the meaning of “single source of truth” in Redux?

in redux, single source of truth refers to the global state that results from its proper implementation (i.e. a decent amount of boilerplate, which is definitely worth it if you find yourself struggling with your app’s state in a given framework). state can now be passed around and manipulated (reused) across components as props.

Explain the components of Redux.

store: in redux, this is…


  • How does hoisting work in JavaScript?

hoisting is a mechanism of JavaScript whereby function declarations are moved to the top of their scope before code execution. this means that you can declare a function after you invoke it in your script. consider the following:

hoisted() // logs "poop"

function hoisted() {
console.log('poop')
}

this only applies to function declarations, so the following (function expression) would avoid this potential issue:

unHoisted() // returns undefinedconst unHoisted = () => {
console.log('poop')
}
  • Why is in React Async instead of Sync?

ultimately re-renders the page and could potentially be an…


What is in React? Explain its purpose.

is the method React runs in order to create and display valid HTML elements (first, it renders into a React element, and then it renders into a standard HTML element) in the browser. it first builds the code into its virtual DOM and then interpolates it back to the browser’s native DOM through the single element,
and every time that is invoked, React’s virtual DOM runs only the minimal JavaScript necessary to update whatever the author decides is important, while staying on the single .html file/page, . this means…


Discuss in words something you learned in class today or this week.

What is the difference between state and props?

What is ReactDOM? What is the difference between ReactDOM and React?

What is React.createClass?

Explain event delegation in JavaScript and why it is useful.

Which new JavaScript / browser features are you most excited about and why?


Discuss in words something you learned in class today or this week.

Why/when would you use a class-based component vs a functional component?

What is create-react-app?

What are the differences between a class component and a functional component?

What is JSX?

How does React work?

How does the virtual DOM work in React?

Which (if there is) node library method could you use to solve the algorithm problem you solved last night in your pre-homework?

What’s the difference between an element and a component in React?


Tell me about a project you’re particularly proud of. What did you do that worked out well?

in this project i plugged into a Marvel API to create a pretty snazzy superhero search engine. given how wet behind the ears i was (and am) almost anything that ended up actually working or showing up as expected made me particularly proud. …


Can you explain the purpose of each type of HTTP Request when using a RESTful web service?

Create: this is the POST method, and allows users to add to an API
Read: this is your GET method, and allows users to simply “read” data
Update: this is your PUT method, and allows users to update info
Delete: this is your DELETE method, and allows users to delete info (or oftentimes pseudo-delete since rarely do websites/apps actually forego free user information, and it’s possible the user wants to reactivate their account)

What’s a test pyramid? How can you implement it when…

Michael Scoggins

graduate of Austin Coding Academy. looking for a full-stack (MERN... with a flexible M) web dev position.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store