What is the relation and difference between React, ReactJS, React Native, React router, reactive programming, and RxJava?

Oh, and you missed Redux. You need that right after 1 (despite its position way down in a Google search for ‘React’). It’s to do with how you manage application data and state (not to be confused with&nbsp;<strong>this</strong>.state within a component, which should be used for local component concerns requiring a component redraw on change). Also GraphQL/Relay once you advance. Its the way forward.

  1. React - A framework
  2. ReactJS Another name for 1.
  3. React Native. A version of React that allows you to create mobile apps. Learn 1 first.
  4. React Router - a router, which is a way to split your application into pages and navigate to them on user interaction. You need to learn React Router soon after React to create most applications, or write something that does the same thing yourself. Using React Router is preferable because it gives you urls for each section in your app, such as /login, /settings, etc.
  5. Reactive Programming is a general name for types of programming designed to respond to change, such as incoming data and user interaction. You don’t need to consider this for now as 1 is a solution to this.
  6. ReactiveX is one of a number of libs you may use to make life easier, and comes in several language specific versions (e.g. RxJava). If you don’t know what it is, you probably don’t need it yet. ImmutableJS is another common one that comes up. You will never need that one (it is built for scale but doesn’t actually scale well, only in JavaScript!, etc). Write your own clone function instead; its a simple 5 line recursive function.

Oh, and you missed Redux. You need that right after 1 (despite its position way down in a Google search for ‘React’). It’s to do with how you manage application data and state (not to be confused with this.state within a component, which should be used for local component concerns requiring a component redraw on change). Also GraphQL/Relay once you advance. Its the way forward.


For 6, here’s the clone function I use (okay, its actually 9 lines, and it expects to be in class StoreHelpers unless you change lines 1 and 6).

 static deepClone(obj) {
   var out, val, key;
   out = Array.isArray(obj) ? [] : {};
   for (key in obj) {
     val = obj[key];
     out[key] = (typeof val === "object") ? StoreHelpers.deepClone(val) : val;
   }
  return out;
 }

There’s also a mergeBIntoA() function I use a lot with React. Its in some of my other answers, and should help a lot when you get into Redux.

How to Share Code Between React and React Native

How to Share Code Between React and React Native

Learn how to share code between React and React Native to avoid duplicating logic. Sharing Code Between React and React-Native: What Not to Share. This question of sharing code between React and React Native, in fact, one of the hot topics among React and React native developers all over the world. React and React-Native allow a learn once write anywhere paradigm. This is great, because one tech team can build both your web app and native mobile experience. The problem is developers hate writing things twice. There have been a couple of efforts to build a unifying technology to write an application once and have it work on both web and native.

How to Share Code Between React and React Native

Sharing Code Between React and React-Native: What Not to Share - Ben Ellerby

React and React-Native allow a learn once write anywhere paradigm. This is great, because one tech team can build both your web app and native mobile experience. The problem is developers hate writing things twice. There have been a couple of efforts to build a unifying technology to write an application once and have it work on both web and native. Yet this is not always the best approach. There is value in only sharing your business and state logic; keeping your render code separate.

In this talk I will give real examples from my work with MADE.COM, migrating their web and mobile application to React and React-Native with code sharing as a primary objective.

How to Share Code Between React and React Native

Learn how to share code between React and React Native to avoid duplicating logic

Sharing Code Between React and React Native

React and React-Native allow a learn once write anywhere paradigm. This is great, because one tech team can build both your web app and native mobile experience. The problem is developers hate writing things twice. There have been a couple of efforts to build a unifying technology to write an application once and have it work on both web and native. Yet this is not always the best approach. There is value in only sharing your business and state logic; keeping your render code separate.

React Native vs Flutter | Difference Between React Native & Flutter

React Native vs Flutter | Difference Between React Native & Flutter

This video on React Interview Questions will help you crack your next React interview with ease. React is the most popular front-end JavaScript library today and is being adopted by many big companies like Netflix, Airbnb, New York Times, and many more...

This video on React Interview Questions will help you crack your next React interview with ease. React is the most popular front-end JavaScript library today and is being adopted by many big companies like Netflix, Airbnb, New York Times, and many more. It is also used in small projects by web developers to showcase their skills in the field of web development. The video includes general React interview questions as well as questions focused on Redux, Hooks, and Styling. This video is ideal for both beginners as well as experienced professionals who are appearing for React web development job interviews. Learn the most important React interview questions and answers and know what will set you apart in the interview process.

React Native Tutorial : Build Dota 2 fan app in React Native

React Native Tutorial : Build Dota 2 fan app in React Native

In this video I'll talk about my approach on how I built a react native app, that I've been working on as a side project for ~1 week, for ios and android and what it can do.

In this video I'll talk about my approach on how I built a react native app, that I've been working on as a side project for ~1 week, for ios and android and what it can do.

The idea for the app was basically to help dota fans quickly browse vods of ongoing/previous tournaments, check upcoming matches, read news and play a little prediction mini game.

In the video I explain why I decided not to publish it.

I used a bunch of web scraping(cheerio) from my node backend to get the content needed for the app and a mongo database to store the data.