Problem with migrating bootstrapv3 to v5 in react project

Hello,
I am facing problem with migrating bootstrap v3 to v5 in react project.

could you please suggest any best practices.

current stack is
bootstrap v3
react 16
nodejs12
mongodb

Thank you