Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

⚛️ Share block context between blocks #67

@DAreRodz

Description

@DAreRodz

Right now, blocks have two properties called data-wp-block-provides-block-context and data-wp-block-uses-block-context, containing the information of those attributes that are exposed and consumed.

The idea is to use the Option Hooks API from Preact to handle those properties as directives.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions