JavaScript once had a JSX-like syntax called E4X
developer.mozilla.org
JavaScript once had a JSX-like syntax called E4X
1–10 of 50 posts
Re: JavaScript once had a JSX-like syntax called E4X
#2I remember using this in a Firefox addon.
Always seemed like a nice thing, but sadly it never became widespread.
Re: JavaScript once had a JSX-like syntax called E4X
#3I wrote a blog post a while ago about how JSX relates to E4X if you are interested: http://blog.vjeux.com/2013/javascript/jsx-e4x-the-good-parts...
Re: JavaScript once had a JSX-like syntax called E4X
#4I wonder what made JSX seem like a good idea then.
Re: JavaScript once had a JSX-like syntax called E4X
#5Note that this is rather old (2013).
Re: JavaScript once had a JSX-like syntax called E4X
#6E4X was part of Actionscript 3. It was very nice.
Re: JavaScript once had a JSX-like syntax called E4X
#7I wonder what made JSX seem like a good idea then.
Anyone that uses it ought to be able to explain that. I was sceptical when I first saw it but it really is very useful.
Re: JavaScript once had a JSX-like syntax called E4X
#8Would be nice to see JSX syntax become standardized. Clearly lots of people like it.
Re: JavaScript once had a JSX-like syntax called E4X
#9Yes! I use it from time to time in applications which have rhino as its scripting language(mirth connect and Orion's rhapsody, mainly).
Re: JavaScript once had a JSX-like syntax called E4X
#10In 2008 I built a production website in Helma (server side JavaScript framework running on Rhino, JS on the JVM) with E4X for the view. You could say I've been waiting for React for a long time. Also that I used way-too-niche technology for a one-off project. :-/