Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

difference between js and jsx

JavaScript is just like any normal programming language without any additional library or framework. It can also be referred to as pure/vanilla JavaScript.

On the other hand, JSX is the syntactic sugar in JavaScript, a syntactic sugar is a syntax within a programming language that is designed to make things easier to read or to express. JSX is mostly used in JavaScript along with library/framework support like in ReactJS or ReactNative.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #difference #js #jsx
ADD COMMENT
Topic
Name
9+7 =