Oct 13, 2022
Your change is better. Otherwise, "In order for it to be executed at the server-side, the source code needs to have the line, import React from 'react';, although the import is not required at the client-side since React 17." -- Updated the document. Thank you!