SlotFill v27.4.0 error on server environments #60924
Labels
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
We conduct internal tests within Ariakit to ensure the interoperability between
@ariakit/react
components and@wordpress/components
SlotFill. This ensures that updates to either library will not impact their compatibility.Check out the unlisted example we're testing at: https://ariakit.org/examples/menu-wordpress-modal
An automated bot opens a PR whenever the
@wordpress/components
package gets updated: ariakit/ariakit#3707However, the latest PR, which upgrades
@wordpress/components
to v27.4.0, is failing to build the example page due to a server error:It appears that this
useSyncExternalStore
call is missing a third argument to function in server environments:gutenberg/packages/components/src/slot-fill/bubbles-virtually/observable-map.ts
Line 78 in e8bbd2e
cc @jsnajdr @DaniGuardiola
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: