How to replace jQuery plugins for native JavaScript or CSS-Transitions?

While I was optimizing my (first) React-Application I wanted to get rid off anything relying on jQuery for performance, size and philosophical reasons. Directly manipulating the DOM sort of contradicts the purpose of using React in the first place.

So I was wondering if someone here uses React together with Bootstrap Studio and has an easy workflow/approach/tools to replace stuff like the jQuery-collapse/dropdown-plugins in the exported Bootstrap Studio-Output with vanilla JavaScript or CSS-Transitions without wasting too much time changing code.

I noticed there are bootstrap forks without jQuery like - can those be used as dropin replacements with Bootstrap Studio?

Any advice would be appreciated.