qreact-render-to-string bases on Jason Miller jason@developit.ca preact-render-to-string.
I make few changes so that it can work with Qreact.
npm install qreact-render-to-stringcompatible with Original React.
u can use alias or require qreact-render-to-string directly.
import React from 'react';
import { renderToString } from 'react-dom/server'; {
alias: {
'react-dom/server': 'qreact-render-to-string'
}
}