Home > @lynx-js/react > Fragment
Lets you group elements without a wrapper node.
Signature:
Fragment: typeof import('react').Fragment
import { Fragment } from '@lynx-js/react'; <Fragment> <text>Hello</text> <text>World</text> </Fragment>
// Using the <></> shorthand syntax: <> <text>Hello</text> <text>World</text> </>