Skip to content

Support require.resolve #35

@SanderSpies

Description

@SanderSpies

Currently not supported, which makes it hard for me to support both React.js and React Native inside my library.

Activity

amasad

amasad commented on Feb 3, 2015

@amasad
Contributor

Could you elaborate a little bit on your use case?

SanderSpies

SanderSpies commented on Feb 3, 2015

@SanderSpies
Author

I'm working on a animation library, https://github.com/sanderspies/react-animation, which has a DSL where you can call React (e.g. React.findDOMNode). If I use this library inside React Native it complains about not being able to find React.js. So obviously, in this case I don't want to use React.js but React Native instead.

SanderSpies

SanderSpies commented on Feb 3, 2015

@SanderSpies
Author

Solved this by not using React inside my animation library.

added a commit that references this issue on Aug 22, 2017
locked as resolved and limited conversation to collaborators on May 29, 2018
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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @amasad@SanderSpies@react-native-bot

        Issue actions

          Support require.resolve · Issue #35 · facebook/react-native