镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Context Api doesn't work #31

Open
Open

Description

@RodolfoSilva

Has any example with Context API? I've tried use Context Api with this example

https://github.com/bcherny/angular2react-demos/tree/master/multi-file

But doesn't work.

I thinks is because angular2react create a new tree.

image

Activity

  1. bcherny commented on Aug 14, 2019

    @bcherny
    Contributor

    I think it should just work, as long as all of your React components are descendent of your Provider.

  2. RodolfoSilva commented on Aug 14, 2019

    @RodolfoSilva
    Author

    @bcherny I've tried use in your example but doesn't work :(
    Has a PR with React Portal, but doesn't work too.

    coatue-oss/react2angular#107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions