react-server-example-tsx
react-server-example-tsx copied to clipboard
React.createFactory() is deprecated
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 https://github.com/styfle/packagephobia/pull/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.