Replies: 1 comment
-
Unfortunately there is no middle ground, because it is not deemed necessary by React or the other React-like popular libraries. However, this question makes me notice that Babel could improve here, by throwing/warning when |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all. I Use babel-plugin-transform-react-jsx without react and use my implementation of jsx function for create DOM element. And if i use
importSource
than jsx will pass children as a atributes options. If i usepragma
children will be pass as third parameter.esample:
I want use importSource because it support auto import but also i want get children as third parameter. What do I need to do for this? =)))
I think that use children as third parameter is a bad idea because i get this incorrect result for custom element. Example:
thenks =)
Beta Was this translation helpful? Give feedback.
All reactions