0kb JS and Back Again: Why Vite is the future of the MPA
By Dylan Piercey, ViteConf 2022
At ViteConf 2022, Dylan Piercey presented a compelling case for why Vite is the future of the Multi-Page Application (MPA) architecture. With the rise of single-page applications and the dominance of tools like webpack, Vite offers a fresh approach that brings significant performance improvements and a simplified development experience.
The Journey to 0kb JS
One of the key highlights of Vite is its ability to achieve 0kb JavaScript bundle sizes for initial loads. This is made possible through its use of native ES Module imports and dynamic import syntax, which allows the browser to only load the JavaScript that is necessary for the current page. By leveraging this approach, Vite enables MPA developers to deliver faster and more efficient user experiences without sacrificing functionality.
Back to Basics: A Streamlined Development Process
Another key advantage of Vite is its simplicity and speed in the development process. With Vite, there is no complex configuration or build step required. Developers can simply write their code and see the changes instantly reflected in the browser. This streamlined approach not only saves time and effort but also reduces the cognitive load on developers, allowing them to focus on building great features and experiences for their users.
The Future of MPA
As the web continues to evolve, the demand for fast and efficient web applications will only continue to grow. Vite’s innovative approach to MPA development positions it as a leading solution for the future of web development. By embracing the concepts of 0kb JS and streamlining the development process, Vite offers a compelling alternative to traditional MPA tools and sets a new standard for performance and developer experience.
As Dylan Piercey so eloquently put it at ViteConf 2022, Vite is not just a tool; it’s a vision for the future of MPA development. With its ability to deliver faster, more efficient web applications and its simplified development experience, Vite is poised to revolutionize the way we build and deliver multi-page applications.
Man! That's a lot! You should've named it THE history (and pain) of modern front-end development [for everyone]. Thanks a lot for a great presentation!
What a great presentation, great presenter, really easy to follow with an interesting subject. Marko looks amazing, it looks like a framework built with actual computer science principles.
Thanks for your presentation of how we got here. Thoroughly enjoyed it !