Skip to content

Supporting React Native Web #159

@thedanhoffman

Description

@thedanhoffman

I'm using Cavy successfully on a React Native project, but there are some small issues that prevent this from working with React Native Web (saw a comment in a previous feature request to make a request if this functionality doesn't work OOTB).

First issue is that node_modules/react-native doesn't exist, which I got around by just making the file in the node_modules directory. The real issue is it doesn't seem like anything is properly exported from Cavy in this environment (import { hook } from 'cavy'; only works in React Native).

Is this something that can be easily fixed? Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    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