Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: