85

React v16.2.0: Improved Support for Fragments - React Blog

 7 years ago
source link: https://reactjs.org/blog/2017/11/28/react-v16.2.0-fragment-support.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
React 16.2 is now available! The biggest addition is improved support for returning multiple children from a component’s render method. We call this feature fragments : Fragments look like empty JSX tags. They let you group a list of children without adding extra nodes to the DOM: This exciting new feature is made possible by additions to both React and JSX. What Are Fragments? A common pattern is for a component to return a list of children. Take this example HTML: Prior to version 16, the…

Recommend

  • 143
    • facebook.github.io 7 years ago
    • Cache

    React v16.0 - React Blog

    React v16.0September 26, 2017 by Andrew ClarkWe’re excited to announce the release of React v16.0! Among the changes are some long-standing feature requ...

  • 125
    • www.solidot.org 7 years ago
    • Cache

    React v16.0 发布

    React v16.0 发布

  • 51
    • 微信 mp.weixin.qq.com 7 years ago
    • Cache

    [译]React v16(新特性)

    [译]React v16(新特性) Original 何蔷...

  • 97
    • zhuanlan.zhihu.com 7 years ago
    • Cache

    又一篇React实践【v16.0 +】

    又一篇React实践【v16.0 +】icepy隐居山野的农夫

  • 69
    • zhuanlan.zhihu.com 6 years ago
    • Cache

    React v16.4.0发布

    最大特征是支持Pointer Events在ReactDOM中添加以下事件。这是因为React发觉它在移动端的应用场景越来越多,外置的injectTapEventPlugin已经不够用了。有了这事件,以后大家往移动端堆应用更轻松。onPointerDownon…

  • 22
    • www.tuicool.com 6 years ago
    • Cache

    React v16.8: The One with Hooks

    With React 16.8,React Hooks are available in a stable release! What Are Hooks? Hooks let you use state and other React features without writing a class. You can also build your own Hooks...

  • 15
    • reactjs.org 5 years ago
    • Cache

    React v16.13.0

    Today we are releasing React 16.13.0. It contains bugfixes and new deprecation warnings to help prepare for a future major release. New Warnings Warnings for some updates during render A Rea...

  • 12

    Rendering Sibling Elements in React Using Fragments December 9, 2019  ·  681 words  ·  ~4 minutes to read This post was originally written for the

  • 6
    • www.wisdomgeek.com 3 years ago
    • Cache

    React fragments: What and Why

    React fragments were a feature released in React 16.2. They have been around for a while now but have been a relatively lesser used feature. Let us explore the what and why the feature exists.What are React Fragments?Reac...

  • 7

    React aims to stay neat and clean that's why fragments are out there. They allow getting rid of excess wrappers while rendering multiple elements! That's pretty cool, but how do they work under the hood? 👉 React Fragmen...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK