.js is a simple javascript file, nothing special can be run anywhere even without compile.
.jsx is a syntax sugar for the view object which will be later React use to render DOM.
JSX format not dedicated only for React. For example solid.js, quick also use that.
Top comments (1)
.js is a simple javascript file, nothing special can be run anywhere even without compile.
.jsx is a syntax sugar for the view object which will be later React use to render DOM.
JSX format not dedicated only for React. For example solid.js, quick also use that.
Technically any one can use write a JSX based solution. There you can found my solution: dev.to/pengeszikra/javascript-grea...
Some comments may only be visible to logged-in visitors. Sign in to view all comments.