Skip to main content
Question

Would swapping libraries in a branch merge correctly in the main file?

  • March 7, 2025
  • 1 reply
  • 26 views

Yara_Farhat3

Hello, 
we got a libraries from another team and it’s imported in our company’s folder. The new libraries has new components and styles (dark mode) so I need to swap the old library with the new one. 
I created a new branch to avoid ruining the main file and I am planing on merging it when I finish the dark mode library swap and mockups. 
Any idea if this will work?

This topic has been closed for replies.

1 reply

vishwakarmayojana

Yes, it should work as long as there are no conflicts in dependencies or component structure. Before merging:

  1. Test thoroughly in your branch.
  2. Check for breaking changes in components.
  3. Ensure styles don’t override existing ones in unexpected ways.

If needed, use feature flags or a staging environment before merging to the main branch.