Using React 16 Node Modules in a React 18 Application

“Is it safe to use React 16 node modules in a React 18 application?

I’m working on a React project where I need to incorporate a third-party library that’s built for React 16. I’m concerned about potential compatibility issues and performance impacts when using this library in a React 18 environment.

Are there any specific challenges or workarounds I should be aware of when mixing React 16 and React 18 components?
What are the potential risks involved?

Will it work will react 18 application as we not not using any concurrent feature, will still concurrent rendering will work inside react and cause issue with react 16 node_module as it used lifecyles like unsafe_componentWillMount?