When the Greek mastermind Heraclitus, millennia ago, claimed that “the only constant is change,” he certainly pepped up Star Wars creator George Lucas to perpetually re-do shots crucial to the canon storyline or even paved the way for grocery stores to mark up vegetable prices by the week.
- Solid: A declarative and reactive framework that compiles to efficient DOM operations
- Qwik: A framework that leverages WebAssembly to deliver fast and lightweight web apps — and an up-and-rising newcomer
- React: A library for building user interfaces with components and hooks
- Vue.js: A progressive framework for building reactive and scalable web apps
- Alpine.js: A minimal framework that adds reactivity to HTML elements
Adoption rates provide insights into how widely a framework is being utilised, while retention rates indicate the likelihood of developers continuing to use the framework in future projects. React and Vue.js, for instance, have demonstrated high adoption and retention rates, indicating a robust and active community. However, emerging frameworks such as Solid and Qwik show promising retention rates, suggesting that developers find these new tools valuable and are likely to continue using them.
But if you look to the East, React loses steam. Tech giants such as Alibaba and Xiaomi prefer Vue.js. Some notable global companies, such as GitLab, Adobe, Nintendo, and Grammarly, also use Vue.js. Even Google allegedly used it for their Careers page. Anecdotal evidence proposes it’s prevalent in China and Asia, where it has a large developer community and support. In Germany, though, Vue.js developers earn €56,400 on average, considerably under the React benchmark.
Svelte, on the other hand, is used by both traditional and up-and-coming organisations, such as The New York Times (which used it to back up a story outlining how Brits voted in 2017), GoDaddy, 1Password, Figma, and Rich Harris's — the framework’s creator — very own Vercel, who hired him two years ago. It is also gaining traction in the web development industry, offering a fast and straightforward way to create web apps.
Alpine.js — “jQuery for the modern web” — is used on projects that value simplicity and minimalism. It is mainly used to add interactivity to static websites or enhance existing web apps.
Solid and Qwik are still relatively new frameworks that have yet to be widely adopted by major companies or industries. Builder.io, the headless CRM many startups have adopted, uses Qwik for quicker load times. For its part, cybersecurity company Cloudflare and even Vercel support Solid.
Examining industry trends, we see that tech startups, e-commerce, and social media platforms often favour React and Vue.js due to their scalability and robustness.
Please remember that companies may use multiple frameworks for different projects or applications, and the specific use cases listed here may not be the only ones. But it’s at least curious to learn that the open-source IBM department (!) recommends Svelte.
Strengths and use cases
Each framework has unique strengths and ideal use cases. React, renowned for its virtual DOM and component-based architecture, excels in large-scale applications. Vue.js, with its gentle learning curve and flexibility, is a viable choice for a broad range of projects, from simple websites to complex applications.
The emerging frameworks, Solid and Qwik, offer intriguing benefits. Solid's granular reactivity without needing a virtual DOM results in performance improvements. At the same time, Qwik stands out with its emphasis on simplicity and speed, making it suitable for smaller, performance-intensive applications. So if you need to develop a quick, lightweight frontend to your award-winning image-generating AI (we’re looking at you, Midjourney), you can rely on Qwik and plug in the API directing towards your brawny application.
Libraries and pairing
Emerging frameworks: Solid and Qwik
The real-world experience of developers can sometimes paint a different picture than statistics alone. Anecdotal evidence from discussions among developers suggests that job market demand often favours the more established frameworks like React, Vue.js, and Angular. However, there's an exciting trend of developers experimenting with newer frameworks like Svelte and subsequently transitioning to Vue.js, indicating a continuous search for optimised solutions.
A significant aspect contributing to Vue's popularity among this crowd is its Composition API, which developers find appealing due to its ease in sharing functions and objects across the codebase, thus improving code reusability. The Composition API, an alternative to Vue's Options API, facilitates more flexible and organised code, especially for larger applications.
Frameworks overview: what’s next?
Solid's performance-focused approach and Qwik's simplicity capture developers' attention, and their increasing retention rates indicate a promising future. While these emerging frameworks are still growing their ecosystems and adoption rates, their innovative features make them worth considering for any developer planning their learning path in 2023.
Despite the perceived dominance of React in the job market, many developers appreciate Vue.js for its simplicity, cleanliness, and ease of use, mainly when used with TypeScript and its Composition API. A significant advantage Vue.js has is its highly opinionated structure, which makes the codebase easier to understand and navigate, contrasting with React's flexibility which can sometimes lead to confusing code structures.
However, Vue's lesser TypeScript support is a noteworthy critique compared to React. Nevertheless, the developer experience with Vue, particularly with the Composition API, appears positive overall. The question of which framework to choose often boils down to personal preference, project requirements, the specific challenges a developer wants to tackle, and the wallet’s perspective.
Conclusion, or, console.log(“In conclusion...”);
Remember, the best framework often suits your needs and helps you grow as a developer. So, explore, experiment, and embrace the learning journey in 2023.