Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting React Native Web #159

Open
thedanhoffman opened this issue Jan 2, 2020 · 1 comment
Open

Supporting React Native Web #159

thedanhoffman opened this issue Jan 2, 2020 · 1 comment

Comments

@thedanhoffman
Copy link

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

@AbigailMcP
Copy link
Contributor

Hey @danhoffman699 ! Thanks for reporting :)

We don't have a huge amount of time at the moment to investigate this particular issue, so I'm afraid I can't give you a timeframe on a fix.

In the meantime, I'll add this to the project backlog and will keep you updated 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants