Skip to content

Stop masking context #9266

Closed
Closed
@gingur

Description

@gingur

Feature

Return all contextProps available via a wildcard prop, this would be helpful for those who want to do shouldComponentUpdate comparisons with props, state, and context.

Possible solutions

static contextTypes = true;
// or
static contextTypes = /.*/;
// or
static contextTypes = {
  __all: true
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions