Week 7 Recap — Final Capstone Planning

Monica Suarez
Nov 8, 2020

This week we start to get very serious about planning our final capstone; and, working on another checkpoint.

Discuss in words something you learned in class today or this week. | The difference between package.json and package-lock.json.

What is Redux Thunk used for? | Redux Thunk is a middleware that lets you call action creators that return a function instead of an action object.

What is the difference between React Native and React? | In React, virtual DOM is used to render browser code in React while in React Native, native APIs are used to render components in mobile. The apps developed with React renders HTML in UI while React Native uses JSX for rendering UI, which is nothing but javascript.

Are you familiar with AMD/require.js or commonjs? What can they do for you? | AMD and CommonJS are both Javascript module loader. They accomplish the same task but works different. AMD is better for browser, hence, the name ‘Asynchronous’, as it loads each distinct module in async manner instead of loading in one large file. No extra steps are required to use AMD, it works out-of-the-box. CommonJS is a standard, mostly used in servers and it loads modules synchronously, though extra step is required if you want your JS file size to be minified and compressed.

Explain your personal troubleshooting techniques. Include devtools and environments. | I use console.log() and the browser’s dev tools (Chrome) to figure out what has gone wrong. Reading errors and googling them also is very helpful.

--

--