DEV Community

Dinesh G
Dinesh G

Posted on

My Java Full Stack Journey Learning (.JS & .JSX) in React JS

What is React JS

React js is commonly refered to as react is an open-sources javascript library developed by facebook for building user interface.
React is a front-end javascript library.
React is a toools for building UI components.

Javascript .js

.js file can include function,objects and other constructs that handle the logic of your Application.

for example:
you might define function,objects,data and models ,or server classes in .js file.

.js file are standard javascript files that contain javascript code ,these files can be used anywhere in the javascript projects to define function,classes,objects and any other javascript constructs.

Javascript .JSX

.jsx file are designed specifically for writing react components that include jsx syntax.

jsx is an xml like syntax to extension for javascript that allows you to write html element in javascript code.

.jsx file typically contains react components that include jsx and javascript .

Top comments (0)