r/angularjs • • Feb 26 '19

An overview of the JavaScript Ecosystem, from Frameworks to Tools for front and back-end development - JavaScript Works

https://javascript.works-hub.com/learn/javascript-ecosystem-38-tools-for-front-and-back-end-development-37c7a?utm_source=reddit&utm_medium=blog&utm_campaign=b.sheridan
49 Upvotes

4 comments sorted by

8

u/[deleted] Feb 26 '19

“React is based on JavaScript and Jsx, a php extension....”

Wat

1

u/BenSE-JS Feb 26 '19

Hey xmashamm,

How would you reword this? Would it be better to say:

"React components are written using JavaScript and JSX. It's creator Jordan Walke, was influenced by XHP, an HTML component framework for PHP."

I'm not a developer (Only aspiring) so let me know what you think

-

Reading the wiki: https://en.wikipedia.org/wiki/React_(JavaScript_library)

--

React was created by Jordan Walke, a software engineer at Facebook. He was influenced by XHP, an HTML component framework for PHP.

--

JSX

JSX (JavaScript XML) is an extension to the JavaScript language syntax.[15] Similar in appearance to HTML, JSX provides a way to structure component rendering using syntax familiar to many developers. React components are typically written using JSX, although they do not have to be (components may also be written in pure JavaScript). JSX is similar to another extension syntax created by Facebook for PHP, XHP.

--

4

u/_ohmu_ Feb 26 '19

Well, JSX may have been inspired by a PHP extension, but React has nothing to do with PHP. JSX is simply a language that compiles/transpiles into javascript.

1

u/mothzilla Feb 26 '19

Aptana

Now there's a name I haven't heard in a while.