styfle/react-server-example-tsx

React.createFactory() is deprecated

styfle opened this issue · 3 comments

Need to figure out a different solution

Hi @styfle

Consider this solution:
const stream = renderToNodeStream(createElement(App, fetchProps()));

Yep, or change ts to tsx and solve it like this styfle/packagephobia#534

Oh my, I've already changed this boilerplate a lot. Used it as a learn-it-yourself tutorial and it works fast as hell.