set data in head in reactjs code example
Example: i18n react meta description
import { useIntl } from 'react-intl';
const DescriptionMeta = () => {
const { formatMessage: f } = useIntl();
return (
<Helmet>
<meta name="description" content={f({ id: 'meta.description' })} />
</Helmet>
);
};