Latest version removes renderToPipeableStream option
muteor opened this issue · comments
I was using the renderToPipeableStream
option like this:
renderToPipeableStream(children, options) {
const s = renderToPipeableStream(children, {
...options,
nonce: response.locals.cspNonce,
bootstrapScriptContent: bootstrapScripts,
});
setTimeout(() => {
s.abort();
logger.log('Hit rendering timeout, will abort and let client render');
}, abortTimeout);
return s;
},
Is there an equivalent with that option removed?
I'd rather have options to be passed through, would that work for you? Up for a PR?