Skip to content
Discussion options

You must be logged in to vote

To anyone who might be running into this same issue, I found my solution.

In functions.php, when I'm enqueuing my JS file, in addition to 'wp-element' I also needed to include 'react-jsx-runtime' as a dependency as well.

Happy coding to you all 🎉

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@t-hamano
Comment options

Answer selected by LearnWebCode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants