Open jeherve opened 2 years ago
I should note, however, that while the block bundle inside the Jetpack plugin relies on @wordpress/element
and @wordpress/components
, the RNA components do not, and rely on React directly. @oskosk Do you think that's something that may change in the future, so it makes even more sense to use RNA components in WordPress interfaces?
The block bundle in the Jetpack plugin has a
JetpackLogo
that is used to render the Jetpack logo in multiple places: https://github.com/Automattic/jetpack/blob/94bc84fd2dd774b8237c995d67decd5a323d8a3d/projects/plugins/jetpack/extensions/shared/icons.js#L187This works fine, but we now have a
JetpackLogo
in use in projects leveraging RNA: https://github.com/Automattic/jetpack/blob/3238c5d6df6727ce64fc18763a0025f10920a317/projects/js-packages/components/components/jetpack-logo/index.jsx#L13It would be nice if the block bundle could use that instead.