qreact-render-to-string
v0.0.3
Published
qreact-render-to-string bases on [Jason Miller <[email protected]> preact-render-to-string](https://github.com/developit/preact-render-to-string).
Downloads
10
Maintainers
Readme
qreact-render-to-string
qreact-render-to-string bases on Jason Miller [email protected] preact-render-to-string.
I make few changes so that it can work with Qreact.
Install
npm install qreact-render-to-string
Usage
compatible 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'
}
}