🕸️ Web development trends we will see in 2024 👀

🕸️ Web development trends we will see in 2024 👀

Publish Date: May 2 '24
315 39

As we're already chugging along into the new year, it's the perfect time to take a look into what trends started gaining traction in web development in 2024. Reflecting on the whirlwind of updates from 2023, here's a rundown of some hot topics for the upcoming year.

juggling

Back to self-hosting

dhh

Self-hosting was the initial and default way for web developers and companies to host their applications for many years. Developers had to go deeper into inner workings of IIS, Nginx, or similar tools in order to host their web applications. Then came cloud services, swooping in to make deployment a walk in the park compared to the "do-it-yourself" approach. No more server maintenance nightmares, right?

Cheaper and more convenient cloud deployments meant that it was easier to learn and maintain your deployment somewhere else, as compared to the “standard” self-hosted solution. After all, you had to own a server, maintain it, update it, solve bugs, etc. At the same time, Docker became a thing and slowly but surely, the “it works on my computer, but not in production” started looking like a thing of the past.

However, it was not enough to replace the convenience of just shipping your application on some of the external providers. The convenience of of not being forced to learn too much about networking, administration, and handling VMs still wasn’t there. The rise of cheaper home servers, using Network Attached Storage (NAS) and their wide array of options, made it much easier to handle the self-hosting needs for lightweight use. We now have tools like Proxmox and Portainer, which make self-hosting your own Docker containers a breeze. We even saw DHH’s (who is a creator of Ruby on Rails, among other things) company moving completely to a self-hosting model, which prompted a big debate.

Back to server

server

In the world of React, there is a strong drive towards servers as the way of rendering apps. Spearheaded primarily through Next.js, React Server Components gained a lot of space in the public discourse, despite being very new tech. These tools are stirring the pot – some devs see them as groundbreaking, while others think they're simply reinventing the wheel. Regardless, the promise is faster page loads, less client-side code, and a smoother dev experience.

React Components enable execution and rendering of the React code exclusively on the server, which should bring benefits such as faster page loads, a lower amount of code shipped to the client, and better developer experience. One big DX advantage to it is safely accessing the database layer directly from the component itself, without the need for API.

HTMX is another library that gained popularity due to its server-first approach to rendering data, although seeking a much simpler way of appealing to developers.

Back to SPA

spa_chart

Hold up, isn’t this a bit of a contradiction? While server-side rendering is gaining steam, there’s also a solid camp refining the good ol' Single-Page Application (SPA) approach. The main reason for that is the feeling that we went so far in terms of experimenting with the server-first approach that we’ve forgotten that not all applications should be living on the server. Some could be highly dynamic, with loads of complex client-side validations, or you simply want to migrate your old Create-React-App architecture to Vite.

BTW, if you're wondering what the hell is a SPA and when should I use it over React Server Components, let me quickly explain. A single-page application (SPA) is a web application that loads only a single web document initially and then dynamically updates the content on that same page without the need to reload the entire page. SPAs interact with users by rewriting existing web pages instead of loading completely new pages from the server.

One of the examples of newer approaches to SPA is the Remix SPA mode. It uses Vite to create a setup that is basically React Router and Vite, with additional Remix-specific features, such as file-based routing and more.

Another example of a React framework utilizing Vite to give their users a SPA experience is Wasp - a full-stack framework for React & Node.js that drastically cuts the boilerplate. Despite being a full-stack framework, it focuses on the standardized approach of deploying a client-side React app with a Node.js server to be as portable as possible. With this approach, you can deploy your app pretty much anywhere, as well as self-host it, which is also a thing that we mentioned before in this article.

OpenSaaS banner

For the even faster start, it also features Open SaaS - a 100% free and open-source boilerplate starter for React & Node.js. Just clone it and get a working app with auth, billing, Open AI API, user dashboard and more!

Finding this article useful?

We're working hard at Wasp to create content like this, not to mention building a modern, open-source React/NodeJS framework.

The easiest way to show your support is just to star Wasp repo! 🐝 But it would be greatly appreciated if you could take a look at the repository (for contributions, or to simply test the product). Click on the button below to give Wasp a star and show your support!

wasp_arnie_handshake

⭐️ Thanks For Your Support 💪

Rise of low level languages

Rust wut

Leaving the world of JavaScript just for a bit, we find many examples of low-level languages making their way into the mainstream, especially when it comes to the tools for JavaScript. This is a trend that has already started during the last couple of years and should continue well into 2024 and beyond. When JavaScript ecosystem started to flourish, there were many great tools that were built with JavaScript, making it easier for developers to contribute to them and allow them to create their own plugins customize them to their liking.

One of the big reasons why we should be excited about this is the performance that those tools bring to developers when compared to JS-based tools. Tools like SWC (Speedy Web Compiler) and Turbopack (Vercel’s self-proclaimed successor to Webpack) are built in Rust. On the other side, Bun, which is an all-in-one JavaScript toolkit bult with Zig. It not only enables users to use it as their default JavaScript runtime, but also as a bundler, test runner, and Node.js-compatible package manager. What is great is that many new tools don’t remove the compatibility with pre-existing concepts, making it relatively easy to transition.

Conclusion

As with everything, we should take all predictions and potential trends with a grain of salt. It is easy to get carried away by the hype of new technologies and tools that are constantly being available today. If you read this article carefully, you might think to yourself “ok, where is AI here?”. I deliberately didn’t include any AI-based predictions to create awareness of other cool developments and trends in the industry that are overlooked.

What do you think of those trends? Are you noticing them as well? Or even better, doing some of this stuff yourself? Let us know in the comment section below and share your opinions!

Comments 39 total

  • Mihovil Ilakovac
    Mihovil IlakovacMay 2, 2024

    Uuu I'm excited for stuff like rolldown.rs/ (the Rust rewrite of Rollup and it should power the next-gen Vite)

  • vincanger
    vincangerMay 2, 2024

    the r/selfhosted forum on Reddit is a goldmine for selfhosting tips!

  • Matija Sosic
    Matija SosicMay 2, 2024

    Nice overview! Both SPA and server as trends is interesting, but actually makes sense :)

  • Filip Sodić
    Filip SodićMay 2, 2024

    The rightmost and leftmost parts of that Gauss curve should be PHP server-side template apps :D

  • Elanat Framework
    Elanat FrameworkMay 2, 2024

    Frontend is dying

    • Marcelo
      MarceloMay 2, 2024

      kkkkkkkkkkkkkk, I think that it's getting more difficult

  • Alex Lohr
    Alex LohrMay 2, 2024

    You forgot to mention that 2024 is the year of signals.

    • Boris Martinovic
      Boris MartinovicMay 2, 2024

      Good catch! I hope that TC39 will be accepted and that signals will become a first-class feature of browsers.

    • Alex Walker
      Alex WalkerMay 3, 2024

      Yea nice read it like it make it happen I would definitely give it a try

    • val von vorn
      val von vornMay 6, 2024

      I already used the Singal app.

  • Jack Bridger
    Jack BridgerMay 2, 2024

    Thanks for this!

  • Qyrus
    QyrusMay 2, 2024

    Like these kinds of posts. Overviews are really nice to read and catch up quickly. Selfhosting is back and better than ever

  • Sean Davis
    Sean DavisMay 2, 2024

    Thanks for this write up!

  • zvone187
    zvone187May 2, 2024

    I was thinking where is AI until I saw the conclusion 😄

  • uliyahoo
    uliyahooMay 2, 2024

    Great analysis!

  • Romeo
    RomeoMay 2, 2024

    Deserve more likes and comments :)

  • Daniel McMahon
    Daniel McMahonMay 2, 2024

    Fun fact - even Angular has started adopting usage of Vite :D

    Nice article highlighting some of the trending technologies these past few months - excited to see how things evolve over the next year!

    Over my years of experience one of the things I noticed is that early adoption of trending technologies should always be minimised unless the use case very closely matches your end-goals or enables very quick low-risk wins.

    One prime example I've seen recently of this on a project is a team who migrated from an Angular application onto React w/ NextJS and the infrastructure side of the Next side has reared its head with some headaches for configuration setup and dockerisation due to how propreitary some of the tech is tied with Vercels deployment pipelines.

    Wasp seems an interesting product, and I can for sure see the Rails similarities at play, React, Node and Prisma all caught my eye over the last few years and Ive used them in different settings, very cool to see a product trying to establish a new paradigm with them linked together for easier development - will try it out in the near future!

  • Ricardo Esteves
    Ricardo EstevesMay 2, 2024

    Cool, nice article. Thanks for sharing!

  • Jeff Chavez
    Jeff ChavezMay 2, 2024

    Key: Stay updated. Thanks for the heads up!

  • Sunil kumar Dubey
    Sunil kumar DubeyMay 3, 2024

    Nice article

  • Zeeshan Ahmad Khalil
    Zeeshan Ahmad KhalilMay 3, 2024

    Rust is good for desktop apps, it has better access to hardware.

    TauriJS is using rust at its back for this purpose.

  • Mugisa Jackson
    Mugisa JacksonMay 3, 2024

    These trends aim to enhance user experiences, improve performance, and address emerging technological challenges. As for AI, is constantly learning about these trends and can provide insights and guidance on implementing them.

  • yukinori ʚĭɞ
    yukinori ʚĭɞMay 3, 2024

    interesting hm

  • Nwaozuru eze paul
    Nwaozuru eze paul May 3, 2024

    Thank you for this article, it's a something I can learn from since I'm still getting used to Css and my next is JavaScript __

  • GoodPresonKishore7
    GoodPresonKishore7May 3, 2024

    Predicting specific trends for a future year like 2024 is challenging, as the technology landscape evolves rapidly. However, based on the trajectory of recent developments and emerging technologies, here are some potential trends that could shape web development in 2024:

    1. AI and Machine Learning Integration: AI and machine learning technologies are becoming more prevalent in various industries. In web development, we may see increased integration of AI-driven features such as personalized user experiences, chatbots, content recommendation systems, and predictive analytics.

    2. Progressive Web Apps (PWAs): PWAs offer a seamless user experience similar to native mobile apps and have been gaining popularity. In 2024, we may see wider adoption of PWAs, driven by their ability to work offline, deliver fast performance, and engage users effectively across different devices.

    3. Voice User Interfaces (VUIs): With the growing popularity of voice assistants like Amazon Alexa, Google Assistant, and Siri, web developers may focus more on implementing voice-enabled features and optimizing websites for voice search and interaction.

    4. WebAssembly (Wasm): WebAssembly is a binary instruction format that enables high-performance execution of code on the web. As browser support improves and tooling matures, WebAssembly may become more prevalent for running computationally intensive tasks, enabling developers to build complex web applications with near-native performance.

    5. Extended Reality (XR): Augmented Reality (AR) and Virtual Reality (VR) technologies continue to advance, offering immersive experiences on the web. In 2024, we may see increased experimentation with XR-driven web applications, ranging from virtual showrooms and training simulations to interactive storytelling experiences.

    6. Blockchain and Decentralized Web: Blockchain technology has implications beyond cryptocurrencies, with potential applications in areas like decentralized identity, secure transactions, and content distribution. Web developers may explore integrating blockchain technologies to build decentralized web applications and enhance security, privacy, and trust.

    7. Low-Code and No-Code Development: The demand for web applications is growing, and so is the need for faster development cycles. Low-code and no-code platforms empower citizen developers and business users to create web applications with minimal coding knowledge. In 2024, these platforms may see further advancements, enabling rapid prototyping and deployment of web solutions.

    8. Accessibility and Inclusivity: As awareness of digital accessibility issues grows, web developers will increasingly prioritize creating inclusive web experiences that are accessible to users with disabilities. Compliance with accessibility standards such as WCAG (Web Content Accessibility Guidelines) will become standard practice, ensuring that web content is usable by all individuals, regardless of their abilities.

    These trends represent potential directions in which web development could evolve by 2024, but the actual landscape will depend on technological advancements, market demands, and shifts in user behavior over the next few years.

  • SCTS Friends
    SCTS FriendsMay 3, 2024

    Predicting specific trends for a future year like 2024 is challenging, as the technology landscape evolves rapidly. However, based on the trajectory of recent developments and emerging technologies, here are some potential trends that could shape web development in 2024:

    1. AI and Machine Learning Integration: AI and machine learning technologies are becoming more prevalent in various industries. In web development, we may see increased integration of AI-driven features such as personalized user experiences, chatbots, content recommendation systems, and predictive analytics.

    2. Progressive Web Apps (PWAs): PWAs offer a seamless user experience similar to native mobile apps and have been gaining popularity. In 2024, we may see wider adoption of PWAs, driven by their ability to work offline, deliver fast performance, and engage users effectively across different devices.

    3. Voice User Interfaces (VUIs): With the growing popularity of voice assistants like Amazon Alexa, Google Assistant, and Siri, web developers may focus more on implementing voice-enabled features and optimizing websites for voice search and interaction.

    4. WebAssembly (Wasm): WebAssembly is a binary instruction format that enables high-performance execution of code on the web. As browser support improves and tooling matures, WebAssembly may become more prevalent for running computationally intensive tasks, enabling developers to build complex web applications with near-native performance.

    5. Extended Reality (XR): Augmented Reality (AR) and Virtual Reality (VR) technologies continue to advance, offering immersive experiences on the web. In 2024, we may see increased experimentation with XR-driven web applications, ranging from virtual showrooms and training simulations to interactive storytelling experiences.

    6. Blockchain and Decentralized Web: Blockchain technology has implications beyond cryptocurrencies, with potential applications in areas like decentralized identity, secure transactions, and content distribution. Web developers may explore integrating blockchain technologies to build decentralized web applications and enhance security, privacy, and trust.

    7. Low-Code and No-Code Development: The demand for web applications is growing, and so is the need for faster development cycles. Low-code and no-code platforms empower citizen developers and business users to create web applications with minimal coding knowledge. In 2024, these platforms may see further advancements, enabling rapid prototyping and deployment of web solutions.

    8. Accessibility and Inclusivity: As awareness of digital accessibility issues grows, web developers will increasingly prioritize creating inclusive web experiences that are accessible to users with disabilities. Compliance with accessibility standards such as WCAG (Web Content Accessibility Guidelines) will become standard practice, ensuring that web content is usable by all individuals, regardless of their abilities.

    These trends represent potential directions in which web development could evolve by 2024, but the actual landscape will depend on technological advancements, market demands, and shifts in user behavior over the next few years.

  • Daniel Chibuogwu
    Daniel ChibuogwuMay 3, 2024

    I learned a lot reading this, thank you 🙏

  • 𒎏Wii 🏳️‍⚧️
    𒎏Wii 🏳️‍⚧️May 3, 2024

    So the TL;DR seems to be that all the fancy but ultimately pointless toys web developers have been coming up with over the last few years are being abandoned again because it turns out we never really needed them all that much anyway?

    Nice. When's front-end frameworks' turn?

  • Cheikhnouha
    CheikhnouhaMay 3, 2024

    So so siked

  • Aliyana
    AliyanaMay 5, 2024

    I'm single, Looking for dating,. Here my profile is.gd/Opps_sexdatesx

  • Hasib Al Rashid
    Hasib Al RashidMay 5, 2024

    One of the best articles that I've read in dev.to

  • Eckehard
    EckehardMay 6, 2024

    I counted 3 x "back to", but 0 x "looking forward". Will 2024 be the year of disillusionment?

  • val von vorn
    val von vornMay 6, 2024

    We will see... we can also roll the dice, ask chatGTP or make a tortoise oracle. You don't e ven quoted irrelevant stats.

  • Atai Barkai
    Atai BarkaiMay 6, 2024

    Tech moves in cycles. Great article!

  • Nghia Pham
    Nghia PhamMay 7, 2024

    GPTed Blogger

  • Ekemini Samuel
    Ekemini SamuelOct 16, 2024

    Great article! In the programming languages space, Go is making waves - concurrency, speed, and efficiency. 🌟

Add comment