ReactTraining / react-stdio

Render React.js components on any backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

outputFile optional property

zuta opened this issue · comments

What do you think about adding an optional property (e.g. outputFile) ?

If provided, react-stdio would print the result of rendering to that file instead of stdout. Probably colliding with your project name, but still might be useful.

Will be happy to send PR for this.

Actually it's an unnecessary feature.
You can easily achieve that by piping the result of react-stdio to a file.