- From: Robin Berjon <robin@berjon.com>
- Date: Mon, 26 Sep 2016 10:27:18 -0400
- To: "Liam R. E. Quin" <liam@w3.org>, Jos de Jong <wjosdejong@gmail.com>
- Cc: Peter Krautzberger <peter.krautzberger@mathjax.org>, "public-mathonw." <public-mathonwebpages@w3.org>
On 23/09/2016 17:54 , Liam R. E. Quin wrote:
> On Fri, 2016-09-23 at 11:03 -0400, Robin Berjon wrote:
> [...]
>>
>> function listPeople (people = [], listType) {
>> return (
>> <ul className={listType}>
>> {
>> people.map(p => <li>{p.name}</li>)
>> }
>> </ul>
>> );
>> }
>
> This isn't far removed from JSONiq (or even XQuery).
Yes, that's why I like it. I have long been thinking of doing some kind
of XQuery-like using JSX.
But _sshhhhh_, don't tell the millions of JS developers now using this!
--
• Robin Berjon - http://berjon.com/ - @robinberjon
• http://science.ai/ — intelligent science publishing
•
Received on Monday, 26 September 2016 14:27:45 UTC