
- Discuss in words something you learned in class today or this week.
I learned how to fetch data in react.
- What is the difference between state and props?
State is owned locally and updated by the components while props are owned by a parent component.
- What is
ReactDOMand what is the difference betweenReactDOMandReact?
ReactDom renders elements to the DOM and is only used in web apps. React is used in web and mobile and holds the react sources for components, states and props.
- What is
React.createClass?
React.createClass generates components under classes.
- Which (if there is) node library method could you use to solve the algorithm problem you solved last night in your pre-homework.
The real question is, did I do the pre homework?
- Which (if there is) node library method could you use to solve the algorithm problem you solved in class tonight?
The real question is did I solve the problem in class?
- Explain event delegation in JavaScript and why it is useful.
Delegation in JavaScript is a simple technique by which you add a single event handler to a parent element in order to avoid having to add event handlers to multiple child elements.
- Which new JavaScript / browser features are you most excited about and why?
Playing with the DOM a little more and seeing things rendered out. I think it’s cool how react in general eliminates the need for separate HTML and CSS files.
