react-dropdown-tree-select icon indicating copy to clipboard operation
react-dropdown-tree-select copied to clipboard

Feat: React 18 support?

Open vova42matters opened this issue 4 years ago • 9 comments

Is your feature request related to a problem? Please describe. When using [email protected] and running npm install, an error gets thrown.

Describe the solution you'd like Just update peerDependencies and test out dropdown

Describe alternatives you've considered Running npm config set legacy-peer-deps true solves the problem.

Additional context Logs:

npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"^18.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.0.0 || ^17" from [email protected]
npm ERR! node_modules/react-dropdown-tree-select
npm ERR!   dev react-dropdown-tree-select@"2.7.1" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Using Node 16, npm 8.2.0

vova42matters avatar Apr 18 '22 11:04 vova42matters

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar May 18 '22 22:05 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 18 '22 22:06 github-actions[bot]

not stale

mrchief avatar Jun 22 '22 19:06 mrchief

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jul 22 '22 22:07 github-actions[bot]

Hi, any progress with this ...?

erikmoren avatar Aug 04 '22 08:08 erikmoren

FWIW, we are using this with React 18 and have not seen any side effects (other than the usual warnings about componentWillReceiveProps)

ldeveber avatar Aug 12 '22 17:08 ldeveber

Does anyone care to send a PR? Should be a quick one

mrchief avatar Aug 18 '22 16:08 mrchief

Probably something has to be done with enzyme tests as a part of this migration. As https://github.com/enzymejs/enzyme/issues/2524 suggests, enzyme is not going to support React 18 in the near future.

apaschenko-amplify avatar Aug 26 '22 09:08 apaschenko-amplify

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Sep 25 '22 22:09 github-actions[bot]

This is not completed

moxxuk avatar Nov 01 '22 12:11 moxxuk

I believe npx react-codemod rename-unsafe-lifecycles should work to do this in the short term, but requires a dependency update to react 16.3+

pckilgore avatar Dec 07 '22 18:12 pckilgore

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jan 06 '23 22:01 github-actions[bot]

I submitted a pr to fix this recently.

pckilgore avatar Jan 07 '23 00:01 pckilgore

:tada: This issue has been resolved in version 2.8.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] avatar Jan 15 '23 17:01 github-actions[bot]