What is the difference between the two ways of writing react's Fragment,?

What is the difference between the following two ways of writing the Fragment, of

react?

Writing method 1:

import React, { Fragment } from "react";

render() {
    return (
        <Fragment>
            hello world
        </Fragment>
    );
}

Writing method 2:

import React from "react";

render() {
    return (
        <>
            hello world
        </>
    );
}
Dec.03,2021

the one below is the shortcut https://reactjs.org/docs/reac.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3f1f9-4db07.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3f1f9-4db07.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?