Questions for myself about React JS & React Native

Durul Dalkanat
6 min readOct 20, 2017

This article includes some basic term and fundamentals approach for React JS and & React Native. If you start new and can not understand some terms. I believe you can find good explanations below.

1- What is React really doing ?

React provides tools for us to build our own components and use them just like built-in HTML elements. React is a view library.

2- Explain declarative

A programming model where we describe the result we want to achieve. HTML is declarative.

3- Explain Imperative

Programming model where we describe the steps to achieve our result. JavaScript would be imperative.

4- What is the difference DOM and Virtual DOM ?

DOM is an interface for managing the elements in an HTML page.Virtual DOM is a JavaScript representation of a DOM tree. Everything you do with Virtual DOM does not apply directly to the DOM. It waits for a while and applies all the changes in one step, improving the performance by reducing the events to the minimum.

5- What is the difference JSX and Babel.js ?

JSX is an extension to the JavaScript language that provides an XML syntax. We use Babel.js to translate JSX files into standard JavaScript?

--

--