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

Fails to compile in react 16.6.3 saying withRef is removed #4286

Closed
abisar opened this issue Dec 5, 2018 · 6 comments
Closed

Fails to compile in react 16.6.3 saying withRef is removed #4286

abisar opened this issue Dec 5, 2018 · 6 comments

Comments

@abisar
Copy link

abisar commented Dec 5, 2018

What is the current behavior?

After upgrading to react 16.6.3 and react-redux 6.0.0, it fails to compile and displays:
withRef is removed. To access the wrapped instance, use a ref on the connected component

Sandbox Link

https://codesandbox.io/s/l9m2pqo6l9

If it's correct, it would be nice to have a version support range in the readme.

@abdurahmanus
Copy link

The problem with react-redux v6 which uses new Context API
#4216

@rhys-vdw
Copy link

rhys-vdw commented Jan 9, 2019

Is this fixed yet? The issue is open but the changelog claims to have resolved it? https://github.com/erikras/redux-form/releases/tag/v8.0.0

@abisar abisar closed this as completed Jan 16, 2019
@crocoHS
Copy link

crocoHS commented Feb 12, 2019

I have same issue. How can I do to fix this issue?

@abisar
Copy link
Author

abisar commented Feb 12, 2019

@crocoHS Do an update. It has been fixed with version 8.0.0.

@The-Code-Monkey
Copy link

This isn't fixed i have nothing connected and nothing in the store apart from the form reducer yet it thows withRef is removed. To access the wrapped instance, use a ref on the connected component

  "dependencies": {
    "connected-react-router": "^6.4.0",
    "react": "^16.8.6",
    "react-dom": "^16.8.6",
    "react-redux": "^7.0.3",
    "react-router": "^5.0.0",
    "react-router-dom": "^5.0.0",
    "react-scripts": "3.0.0",
    "redux": "^4.0.1",
    "redux-form": "^8.2.0",
    "redux-thunk": "^2.3.0",
    "sanitize.css": "^8.0.0"
  }


thats my dependencies and redux form still errors.

@iamblackornot
Copy link

iamblackornot commented Dec 12, 2019

have the same issue appeared after installing and using 'ra-data-rest-hapi'. Can't find where withRed is used to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants