Skip to content

Blocks: improve performance / reduce reliance on Core @wordpress packages #426

@jeherve

Description

@jeherve

The Follow Me block currently relies on different @WordPress packages:

  • wp-api-fetch
  • wp-components
  • wp-compose
  • wp-dom-ready
  • wp-element
  • wp-i18n
  • wp-primitives

Those packages have to be loaded on the frontend, potentially on every page of the site if the Follow Me Block is added to a sidebar or the footer that appears on all pages.

Ideally, I think we should aim to have a block that's as light as possible on the frontend. Removing packages that in turn bring in all of React would be a good start, for example.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions