Skip to content

Switch to React 18 API #45

@nop33

Description

@nop33

react-scrollbars-custom is not compatible with React 18. We heavily depend on this library. Thus, even though we have upgraded React to v18, we are still using the React v17 API. Once this lib becomes compatible, we can switch to the React 18 API by simply using the render method of createRoot instead of ReactDom: https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html

I've opened an issue on the library (even though a similar one existed already:

I thought of using react-custom-scrollbars-2 but it's written in JS (no types available).

Metadata

Metadata

Assignees

Labels

🖥 DWDesktop wallet

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions