The Firefox UI has been migrated to Web Components, replacing the old XBL technology. This migration has been a long process, taking a couple of years, and involved removing around 300 XBL bindings and 50,000 lines of code. The change allows Firefox to focus on modern web standards and removes duplicated and complicated functionality. The migration also led to improvements in Web Components, such as the implementation of CSS Shadow Parts and performance fixes.