Top React JS Interview Questions

No need to say how difficult It is to find a professional React JS developer. The hiring process usually takes several stages, including skype interview and testing. In this article we will review the most relevant React JS interview questions with the answers.


React Lessons. Lesson 14.

Hey all! So, we continue working on our app. We already know how to make simple calls to the server and for 80% of possible cases this knowledge will be enough for executing standard tasks. However, we will learn how to deal with more complicated things, too. So, before moving on toward this task, I’d like to warn you that middleware does not necessarily need to be written by yourself. It means these are such frequently used (re-used) elements that have already been written previously by someone else. We recommend you to explore this resource, where you will find a whole bunch of various middlewares and so on. For example, here is a ready-to-use logger. We’ve created a logger to practice a little bit, but here is an example of a perfect ready-to-use solution.


React Lessons. Lesson 13 Part 2.

“Dear readers! Do not forget about the first part of this article, beginners should start from Lesson 1.”

So, let us call these elements inside containers/Articles.js by adding the record and calling action creater:


React Lessons. Lesson 13. Part 1.

Our topic for today deals with asynchronous actions. We will start to take our articles from API. As you have already noticed, we have a simple API working. And in order to launch it, you need to open the folder simple_api and execute the following command there:


React Lessons. Lesson 12.

Hey all! Right now we will check up your home task and give you some valuable comments that will help you with your future work with React. To make it more convenient, you will need to see your code, so, switch to the respective commit and we will continue. Let us start with connect. We need connect to work with store. There is also another way: if you can transmit data using common props – do it! For example, in containers/Articles.js we refer to store in order to take out the needed articles from state:


React Lessons. Lesson 11. Pt.1.

Our previous lesson was devoted to a more convenient way of how to write reducers using seamless APIs to add/remove elements and not to worry about any processes to be changed in between.


React Lessons. Lesson 10.

So, let us now explore how we work with the data. We’ve used a denormalized structure for displaying our articles so far. You can see it in the file fixtures.js. Every article contains information about it, it really resembles a tree-like structure. This kind of structure is readable, but it will turn your life into hell, if you start to change the data.


React Lessons. Lesson 9.

Hey all! Today we will start our lesson with your home task and do it together. Our main goal of these lessons is to help our readers learn how to think keeping data categories in mind. This is a basis of functional programming, when you describe any system – for example, UI – with a set of data. We’ve been doing everything in a pretty simple way in our lessons so far. We’ve published our articles containing all essential things: a counter containing a number and so on. We haven’t done anything complex yet; we haven’t integrated all these elements and haven’t thought what data should be kept in store or state of the components. So, let us discuss it now. First, what data and where should be stored?

Без названия

React Lessons. Lesson 8

Today we’re going to do more complicated things. We will go away from manual description of “closure,” subscriptions and so on. All these things are, or course, not for manual maintenance. We will learn how to do these things easily and gracefully.