Skip to content

Premium content: use new context API server-side #41744

@artpi

Description

@artpi

Currently, Premium Content block uses convoluted methods of passing data between the container block and inner logged-out view

The new usage of context could help:
WordPress/gutenberg#21467

Usage of recursion:
https://github.com/WordPress/gutenberg/blob/master/packages/block-library/src/navigation/index.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    Earn[Type] EnhancementChanges to an existing feature — removing, adding, or changing parts of it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions