In the market for a React/JavaScript engineer role?

Here’s a thread of potential questions you may encounter that you’d be wise to prepare for (applies to junior/mid-level/senior levels).👇🏾👇🏾

#CodeNewbies
“What are some of your likes and dislikes about React?”

This is of course personal opinion, and one that you should be able to answer if you’ve had decent exposure to React.
-Conditional rendering and list rendering-

“What’s the significance of having a ‘key’ prop when rendering a list of elements?”

“What’s a potential bug that you can introduce by using an index as a key?”
-Class component lifecycle methods-

“What are the class based lifecycle methods in React?”

You most likely won’t be required to know every single one, but make sure you know the important ones 👍🏾
-Context API-

“What is meant by ‘prop drilling’”?

“How does the Context API solve that problem?”
-React Hooks-

“Why were React Hooks introduced?”

“What are the main React Hooks?” - similar to the lifecycle methods, just make sure to know the main ones AND WHAT THEY DO!
-Higher Order Components-

“What is a higher order component and why would you use one?”
-Higher Order Functions-

“What is a higher order function?”
“What is a pure function?”
“What is a pure component?”
“What are some ways to share logic across different components?”
“What are some ways to share logic across different projects and code repositories?”
“What are some of your favourite NPM packages to use with React, and why?”
-Redux-

“What is Redux?”

“When/where would you use Context API or Redux, and why?”

“What are the main parts of Redux?”

“What is the order/flow of events in Redux?”

“Why don’t we update the store directly?”
“What is a monolithic architecture?”
“What is a microservices architecture?”
“What is a REST API?”
“What is a single threaded programming language?”
“What is a multithreaded programming language?”
“Is JavaScript a single threaded programming language?”
“What are some popular software architectural patterns?”
“What is meant by unidirectional/bidirectional data flow?”

“What is a DOM, and how does it work?”

“What is a promise and when would we use one?”

“What happens behind the scenes when you type a website address into your browser and hit enter?”
There are many other questions that you may be asked during an interview for a JavaScript based role, but I’ve found that preparing for the above questions as a baseline is a great place to start.
Worth nothing that you may be asked about HTML and CSS, but this thread was written with the assumption that you’d be somewhat comfortable with the former if you’re in the market for a JavaScript role.
Hope this helps!
You can follow @urbnSoftwareEng.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: