react-styleguidist icon indicating copy to clipboard operation
react-styleguidist copied to clipboard

Can react-styleguidist support React18 new features?

Open Fangfanghao opened this issue 3 years ago • 2 comments

If we want to support React18 new features in react-styleguidist, we have to replace ReactDOM.render to createRoot

and replace unmountComponentAtNode with unmount

Do we have a plan to suppport this?

Fangfanghao avatar Aug 03 '22 01:08 Fangfanghao

Id like to second this. We're upgrading our component library to 18 and getting these errors in our console locally now. We can thankfully leave react-styleguidist on 17 for the time being but would love to be able to be on the latest and greatest.

aParadowski avatar Aug 04 '22 21:08 aParadowski

I can look into it, perhaps after https://github.com/styleguidist/react-styleguidist/pull/1996 is merged

ThomasRoest avatar Aug 10 '22 07:08 ThomasRoest

https://github.com/styleguidist/react-styleguidist/releases

ThomasRoest avatar Feb 13 '23 15:02 ThomasRoest