in React JS by

► Click here to show 1 Answer

0 votes

The ReactDOMServer object enables you to render components to static markup. Typically, it’s used on a Node server:

// ES modules
import ReactDOMServer from 'react-dom/server';
// CommonJS
var ReactDOMServer = require('react-dom/server');
React JS
Learn More with Madanswer

Related questions

0 votes
asked Feb 23 in React JS by SakshiSharma
  • #reactdomserver
  • reactserver
  • reactdom
  • dom-package
0 votes
asked Dec 14, 2019 in React JS by AdilsonLima