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

what happened to utils.isReactForwardRefCall #359

Closed
jacobbogers opened this issue May 13, 2019 · 4 comments
Closed

what happened to utils.isReactForwardRefCall #359

jacobbogers opened this issue May 13, 2019 · 4 comments

Comments

@jacobbogers
Copy link

const docgen = require('react-docgen');
const { utils: { isReactForwardRefCall } } = docgen

My code needs this function, I see there was a release last week, wich version is still using it?

@danez
Copy link
Collaborator

danez commented May 13, 2019

What's the error you are getting? The util is still exported as far as I can see.

Also which version are you mentioning?

@jacobbogers
Copy link
Author

could it be related to this issue?
#351

this is from node_modules/react-docgen/package.json

"name": "react-docgen",
  "version": "3.0.0",

@danez
Copy link
Collaborator

danez commented May 14, 2019

You have to use version 5.0.0-beta.1 to get isReactForwardRefCall

@jacobbogers
Copy link
Author

Thank you

@danez danez closed this as completed May 22, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants