[wp-trac] [WordPress Trac] #21170: JavaScript actions and filters
WordPress Trac
noreply at wordpress.org
Tue Sep 26 14:44:51 UTC 2017
#21170: JavaScript actions and filters
-----------------------------+-------------------------
Reporter: koopersmith | Owner:
Type: feature request | Status: assigned
Priority: normal | Milestone: 4.9
Component: General | Version: 3.4
Severity: normal | Resolution:
Keywords: | Focuses: javascript
-----------------------------+-------------------------
Comment (by adamsilverstein):
Replying to [comment:180 westonruter]:
Excellent feedback @westonruter, thanks! I'm going to give this a try in a
branch in the packages repo.
> Having a single global `wp.hooks` now feels like an anti-pattern in the
age of packages and modules, whereas including an instance of `wp.Hooks`
in each component feels very much in-line with standard practice in JS.
Great point.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21170#comment:181>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list