Node.js and react.js are two different technologies that do different things. Node.js is used to construct backend (server-side) code, whereas react is a frontend (client-side) library. While both are JavaScript technologies, no direct comparison exists between the two. These technologies are often part of the same project. In fact, the greatest advantage of learning both technologies is that you can work server-side and client-side using the same programming language - JavaScript.
For a comparison of frontend technologies, you may be interested in our shot on the differences between react and angular.
Free Resources