Skip to content

Conditionally Rendered Components Cannot Have Context #789

Description

@rmorshea

Current Situation

Conditionally rendered components do not have access to contexts. This is because we only make contexts available on the first render which turns out to be a relatively trivial case to solve.

Proposed Actions

To consider this case of conditionally rendered components we must track the contexts which are available to a component in their corresponding hooks as state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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