-
Notifications
You must be signed in to change notification settings - Fork 413
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
Any interest in being able to replace react/createElement
with a custom function?
#592
Comments
This is probably already possible with the Compiler protocol. You might have to refer to some impl functions to reuse the code for other methods, so the API isn't perfect, but if you get it working I can consider exposing the necessary functions. |
Checking your fork, there are few other |
Awesome, thanks for the feedback. I'll take a look at implementing it with the compiler |
Have it working with the compiler here: cj-price@e09a8e6 I haven't tested the other places where Would you like me to clean up the example and submit a PR? |
I guess Emotion is interesting enough to add a example to the repository. The root package.json probably doesn't need to be changed? The example should use shadow-cljs so it can use npm packages. There is an example in the material-ui folder. The |
And a link could be added the compiler protocol docs to the example folder. |
I submitted #593 I am using shadow-cljs as requested and removed the code from the intro. Also added a link on the docs. Willing to make any requested changes :)
Yeah I did my testing on the intro which is why I rendered inside the simple example component. |
Any interest in being able to replace
react/createElement
with a custom create element function?My use case is that I'd like to use css-in-js with emotion.
I have it working here: 42978d4
The text was updated successfully, but these errors were encountered: