Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #33472, comment 21


Ignore:
Timestamp:
04/28/2021 06:13:54 PM (4 years ago)
Author:
iandunn
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33472, comment 21

    initial v1  
    1111> focus this discussion on "How should we extend WordPress so that we can smoothly drop in different templating engines?". This is a much more future-proof approach, and whatever the current trendy engine of choice is will not limit us in a few years.
    1212
    13 I agree, and like [https://developer.wordpress.org/block-editor/reference-guides/packages/packages-element/ the approach that Gutenberg took with abstracting React]. We're [https://github.com/WordPress/WordPress/blob/master/wp-includes/js/wp-util.js#L31-L36 kind of already doing something similar with Underscore templates]. The engine could change as long as the syntax didn't.
     13I agree, and like [https://developer.wordpress.org/block-editor/reference-guides/packages/packages-element/ the approach that Gutenberg took with abstracting React]. We're [https://github.com/WordPress/WordPress/blob/4f7ace4f9cf79451511b10aa95f41343d83cf847/wp-includes/js/wp-util.js#L31-L36 kind of already doing something similar with Underscore templates]. The engine could change as long as the syntax didn't.