Live data from Hacker News

What should go into JSX 2.0?

github.com

1–10 of 102 posts

Re: What should go into JSX 2.0?

#4

"What should go into JSX 2.0?" would be a much clearer title outside of the context of the GitHub issue.

Yup, even the issues not marked controversial seem so to me. I think JSX is quite nice but it has its limits/annoyances. One is obviously that it's not real HTML5.

I would like to see a successor that is more like HTML5 without the X. No idea how that could be realized though... ;)

Re: What should go into JSX 2.0?

#10

I definitely think fragments should be an added feature of a 2.0 version of JSX - just take a look at this Github issue that continues to house active discussion now for 2+ years. https://github.com/facebook/react/issues/2127

Yes, this is often-requested. We don't necessarily need to change JSX to add this to React though. With our current implementation it's a pain to support it but we're working on it.
Post reply on HN