Skip to content

How can I render children inside the react component? #136

Open

Description

@aplaskota

Hi, I'm trying to figure out how can I make my react components more flexible. I'd like to achieve something like this inside my angular.js template.

<div>
    <myReactComponent>
        <p>Text<p/>
    </myReactComponent>
</div>

Activity

  1. EmBeaux commented on Feb 8, 2022

    @EmBeaux

    Is this something you were able to figure out? I am running in to the same problem of trying to utilize ng-content within react.

  2. aplaskota commented on Mar 14, 2022

    @aplaskota
    Author

    @EmBeaux nope, this is the biggest constraint in this package so I'm considering other options right now.

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