Skip to content

React.createFactory() is deprecated #280

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
styfle opened this issue Mar 2, 2020 · 3 comments
Open

React.createFactory() is deprecated #280

styfle opened this issue Mar 2, 2020 · 3 comments
Labels

Comments

@styfle
Copy link
Owner

styfle commented Mar 2, 2020

Need to figure out a different solution

@styfle styfle added the bug label Mar 2, 2020
@GinMitch
Copy link

Hi @styfle

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

@styfle
Copy link
Owner Author

styfle commented Nov 30, 2020

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

@GinMitch
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants