Skip to main content
Yara_Farhat3
New Member
Mar 7, 2025 7:30 PM UTC
Question

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

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
New Member
Mar 9, 2025 6:21 AM UTC

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.