Skip to content

<Portal/> and new context API #2910

@kserjey

Description

@kserjey

Bug Report

Steps

Just try to use new context API.
The problem is caused by using unstable_renderSubtreeIntoContainer function (facebook/react#12493).

Expected Result

Access to context value.

Actual Result

Context value is undefined.

Version

0.81.1

Testcase

https://codesandbox.io/s/3r9nkpk1z5

P.S. Can I help with this issue? I have no experience in contributing, but I'd really like to try...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions