-
Notifications
You must be signed in to change notification settings - Fork 81
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
Support Render Functions (children
being a function)
#295
Comments
Dupe of #63 |
There's a number of different patterns for overloading I'm using the 2nd one (named slot projection), and this also kills react-element-to-jsx-string:
|
Any news for this issue ? This missing feature make the lib kind of useless for newGen React. |
This PR is a first approach to fix the issue : #317 In my case it solve completely my problem. |
Cannot really confirm that it solved for me. Otherwise really great lib, worked the best so far. My code:
Result
Options
Cheers guys |
Right now, react-element-to-jsx-string seems to ignore function children. With the new context API using a function for children, this is extra important.
The text was updated successfully, but these errors were encountered: