JSX is an actively used template created in 2013.

6Years Old 1,005Users 0Jobs
  • JSX ranks in the bottom 50% of languages
  • the JSX website
  • JSX first appeared in 2013
  • the JSX team is on twitter
  • I have 28 facts about JSX. just email me if you need more.

Example code from the web:

class App extends React.Component {
  render() {
    return (
      <div>
        <p>Header</p>
        <p>Content</p>
        <p>Footer</p>
      </div>
    );
  }
}

Example code from Linguist:

'use strict';

const React = require('react')

module.exports = React.createClass({
  render: function() {
    let {feeds, log} = this.props;

    log.info(feeds);
    return <div className="feed-list">
      <h3>News Feed's</h3>
      <ul>
        {feeds.map(function(feed) {
          return <li key={feed.name} className={feed.fetched ? 'loaded' : 'loading'}>
            {feed.data && feed.data.length > 0 ?
              <span>{feed.name} <span className='light'>({feed.data.length})</span></span>
              : 'feed.name' }
          </li>
        })}
      </ul>
    </div>;
  }
});
Edit

Last updated February 11th, 2019