[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

fragments and React

  • From: "Simon St.Laurent" <simonstl@simonstl.com>
  • To: xml-dev@lists.xml.org
  • Date: Fri, 1 Dec 2017 14:26:08 -0500

fragments and React
I keep finding that how different systems handle document fragments is a useful indicator of how they look at the world. React is a pretty popular framework from Facebook, one I mostly like except for odd things deriving from their particular mixture of markup and JavaScript.

They recently added more explicit fragment handling, and it might be worth your time to explore it:

https://reactjs.org/blog/2017/11/28/react-v16.2.0-fragment-support.html

Among other things, their requirement of key attributes (but no other attributes) in some contexts and their prohibition of attributes in other places suggest a more element-centric approach than I've seen in a while.  Attributes remain available through other syntactical approaches, but shortcut syntaxes tend to be a good indicator of how developers want their tools used.

Just another potentially fun aside!

Thanks,

Simon



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.