Frontend frameworks The king will fall in 2021?
Marcin Gajda: As for the most used JS frameworks, this report clearly shows that these tools’ market is heading towards a specific stabilization. This category’s podium has remained unchanged for four years and is dominates by three well-known kings: React, Angular and Vue.js.
Outside the top three, Svelte has made some exciting strides, almost doubling its usage. This fourth place for open source software is not a surprise to me at all. It’s a wind of fresh air in the approach to building frontend web applications and will get more and more attention in 2021.
Our developers had the opportunity to play with Svelte in 2019 and created a simple online game called Hyperunner.js. The experience of working with Svelte has been quite positive, and we are keeping an eye on its continued growth.
Svelte — Tried and tested case studies for writing TypeRunner.js applications.
On the other hand, React still has a solid position in the frontend community, which will not change in 2021. The continuous development of this tool combined with pioneering work in the frontend world makes it the future-proof solution that many developers and customers are developing web applications. Features such as hooks in the past and concurrency model and component-based servers in the future ensure that React is convenient to use and broadly and adequately optimized for the web development landscape in 2021.
No surprises in data layer management
Andrzej Wysoczanski: The use of custom solutions shows that beating Redux will not be so easy. Despite the declining interest in and satisfaction with this tool favoring Context API in React, it is still irreplaceable for large applications. Perhaps the debut of Vue 3 will increase Vuex’s popularity in 2021. Or maybe in 2021, we will get something new from the state, the other new top player in the ranking?
GraphQL is currently extremely popular and ranks number one in terms of satisfaction, interest, and familiarity. Ease of use and promising cooperation in the backend seems to be the key to success and satisfied developers.
Backend frameworks and the entire Express.js domain
The results in this category are a mix of server-side rendering frameworks (Next.js, Nuxt.js), backend frameworks (Express.js, Nest.js), and static page generators (Gatsby, Headless CMS Strapi). Unfortunately, Remix — the first commercial framework in the React ecosystem — didn’t make a list, despite being mentioned by Kent C. as a better choice. Dodds.
Another exciting aspect is that Fastify is in third place in the “interest” group, which may be a harbinger of the need to build even more efficient systems by 2021, which can handle even more searches at a lower cost. Interestingly, it appeared when COVID-19 forced us all online, causing a significant strain on the global network.
Jest not around and wins in the testing category
Honestly, I couldn’t be more surprised. I also couldn’t be happier that the tools and libraries of most significant interest to respondents were Jest, Testing Library, Cypress, and Storybook — exactly the solutions we use every day in almost all of The Software House’s projects.
Rafał Kucharski: There are hardly any surprises when it comes to unit testing libraries. Jest continues its reign, which expects since React the most popular framework, and Jest is part of the bootstrapping tool that everyone uses.
Jasmine, the default testing tool for Angular projects, continues to decline, which is related to the decline of Angular itself.
Mocha is still a viable alternative, but it seems that for most users, the effort it takes to set it up correctly is not worth the few seconds it can save on the time it takes to complete their tests.
With its more humane and user-centric testing approach, Testing Library has become a go-to solution for testing React components.
Leading Frontend Developer
It’s hard to say for sure what causes this. It could be that the community has become more mature or that good tools have finally become available that bring new ideas. I’d like to believe it has something to do with Typescript gaining popularity. Now that static checks are available, the community can finally move away from the old test pyramid and embrace a more modern test trophy approach, which recognizes that static checks can significantly reduce the number of unit tests that developers have to write. Can use the time saved in this way can be used to write integration and end-to-end tests. If done correctly, this can provide much more value.
That said, Cypress is an excellent open-source framework, and it would be unfair not to acknowledge that without its existence, the buzz around non-unit testing would not even be as big as it is today in the frontend world. I haven’t had the chance to play with Playwright myself yet, but it looks like a complementary solution to Cypress, and I’m not surprised that many developers are looking forward to what 2021 will bring for them. I consider myself part of that group.
Two in one — React Native takes on mobile
Aleksander Patschek: In 2020, React Native completely dominated the competition in mobile development. It won with Native Apps in every category. In my opinion, this is due to the unstoppable popularity of React framework worldwide, which will not end soon.
React and React Native’s similarities make it easy for frontend developers to create a mobile app. And for companies, it’s easier and cheaper to find frontend developers who can build web and mobile at the same time, rather than setting up a separate mobile team.
Senior Frontend Developer
For these reasons, I predict that developers will see an even further market takeover by React Native in 2021. And with React Native for Windows and macOS, it could overtake Electron by 100%.. If you are looking for a reliable company you can react to top Java development companies in India.