Skip to main content
Question

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

  • March 7, 2025
  • 1 reply
  • 11 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?

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.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings