-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Remove wp.element
; embrace React
#876
Labels
Framework
Issues related to broader framework topics, especially as it relates to javascript
[Type] Task
Issues or PRs that have been broken down into an individual action to take
Comments
nylen
added
Framework
Issues related to broader framework topics, especially as it relates to javascript
[Type] Task
Issues or PRs that have been broken down into an individual action to take
labels
May 23, 2017
With React 16 noisily warning about using |
Agreed. |
Embrace React, embrace ReasonML. |
This was referenced Jan 24, 2023
This was referenced Apr 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Framework
Issues related to broader framework topics, especially as it relates to javascript
[Type] Task
Issues or PRs that have been broken down into an individual action to take
We already have a lot of React-specific code in various places in the editor, so the
wp.element.createElement
abstraction has been more confusing than helpful for a while now. It seems to me like we are trying to pretend that we're not tied to using React, but this is a giant, untested assumption. I see two possible ways forward here:React
.Per recent discussion in core Slack, WP core has basically decided to adopt React. We are now well-positioned to prefer option (2) and remove as much of
wp.element
as possible.The text was updated successfully, but these errors were encountered: