![]() ![]() Note that babel-eslint is not officially supported by ESLint. Support for JSX fragments is available in Babel v7.0.0-beta.31 and above! If you are already on Babel 7, simply update to the latest Babel and plugin transform: A stable release may take a bit longer as we await adoption by upstream projects. We’ve been working closely with maintainers of the most popular projects: Create React AppĮxperimental support for fragment syntax will be added to Create React App within the next few days. Please be patient as the JSX community works to adopt the new syntax. ![]() Support for fragment syntax in JSX will vary depending on the tools you use to build your app. You can experiment with JSX fragment syntax with this CodePen. In the future, we may add support for additional attributes, such as event handlers. Key is the only attribute that can be passed to Fragment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |