-
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
withFilters: Filter is not applied #8567
Comments
you're right!
I'll try to figure out how to solve the issue with sorry for false alarm! |
It looks like the issue is present with |
Don’t you encounter a similar issue as with data package where 2 instances of the same library with different versions are loaded? |
I think you're confusing with someone else. I have not played around yet with the data package. |
It was a question, see a related discussion where two different versions of the same library were loaded causing issues with internal state: Automattic/wp-calypso#26438 (comment) @jsnajdr can you help to debug this one? |
Yes, it looks like the On my local
The solution is to regenerate the |
@jsnajdr, thanks for double checking this one. I'm closing this issue in here, because it isn't an issue with |
Describe the bug
When rendering a component using the
withFilters
higher order component outside Gutenberg, the filter is not applied.To Reproduce
Execute the code below in a new React project after installing
@wordpress/components
and@wordpress/hooks
.Expected behavior
"Composed component" should appear below "My component".
Screenshots
Desktop:
Additional context
Issue found while working on #8338 and Automattic/wp-calypso#26367
The text was updated successfully, but these errors were encountered: