chargebee-js-wrappers icon indicating copy to clipboard operation
chargebee-js-wrappers copied to clipboard

@chargebee/chargebee-js-react-wrapper not working with react@18 yet

Open welearndan opened this issue 3 years ago • 8 comments

When updating to the newest react version and running npm i with @chargebee/[email protected], the following error is thrown:

npm ERR! While resolving: @chargebee/[email protected] npm ERR! Found: [email protected]

I think this can be fixed by updating the version number in peer-dependencies to 18 as well

welearndan avatar Apr 12 '22 10:04 welearndan

+1 Can you add support for React 18?

vladzagorski avatar Jun 07 '22 08:06 vladzagorski

The lack of chargebee's wrapper supporting this is preventing our entire app from updating our stack. Please, add support for this soon.

JasonNoonan avatar Jun 07 '22 15:06 JasonNoonan

We are looking into this. Will share an update at the earliest.

cb-dinesh avatar Jun 08 '22 04:06 cb-dinesh

This is affecting us as well, please let us know when this is changed as it is really holding us back.

mwalden2004 avatar Jun 12 '22 01:06 mwalden2004

@mwalden2004 You can expect react 18 support to be available by June 24th.

cb-dinesh avatar Jun 14 '22 03:06 cb-dinesh

@chargebee/chargebee-js-react-wrapper 0.5.0 has been published with react 18 support. Please test using the latest version, and open github issues if there are any errors.

cb-dinesh avatar Jul 04 '22 09:07 cb-dinesh

Seems to be working great, only issue I saw was with StrictMode enabled see https://github.com/chargebee/chargebee-js-wrappers/issues/98

impaler avatar Aug 23 '22 04:08 impaler

Is this issue still open or can it be closes @welearndan ?

mhombach avatar Aug 25 '22 14:08 mhombach