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

This week in class we learned about redux and thunk

  • What are “actions” in Redux?

actions are a plain javascript object that contains information, and the only source of information for the store.

  • What is the role of reducers in Redux?

A reducer is a function that takes an action and the previous state of the application and returns the new state

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

It means the only way to change your data in UI is to dispatch redux action which will change state within redux reducer

  • Explain the working pieces of Redux.

The four components of redux are the store, state, reducers, and actions



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

This week in class we learned about styling with material ui and how to pull from the documentation to copy/paste it into our code

  • What is render() in React? Explain its purpose.

render() is the process of converting react components to what will be displayed on the screen

  • Is setState() async?

Yes, setting up more conditionals can cause errors because of this

  • What are controlled components?

controlled components takes its current value through props and uses callbacks like onClick to signal changes. A parent component controls it by handling the callback and managing its own state

  • What is the event loop in JavaScript?

The event loop is a queue of callback functions

  • Why does ReactJS use className over class attribute?

Class is a keyword so className is converted by jsx



  • What’s the difference between operational and programmer errors?

Operational: run time problems experienced by correctly written programs, such as failure to connect to a database or a request timeout

Programmer: Bugs in the code that need to be dealt with by the programmer

  • What is ‘event-driven’ programming?

The flow of the program is determined by events such as user actions, sensor outputs, or messages passing from other programs

  • What are ‘worker processes’?
  • Describe how Node.js can be made more scalable.

Cloning, decomposing, splitting

  • Explain global installation of dependencies.

Installing dependencies globally instead of locally

  • Explain RESTful Web Service.

Emphasizes scalability of interactions, uniform interfaces, independent deployment of components