Home / Companies / LogRocket / Blog / Post Details
Content Deep Dive

Build a dynamic MPA with Enhance

Blog post from LogRocket

Post Details
Company
Date Published
Author
Taha Shashtari
Word Count
2,380
Language
-
Hacker News Points
-
Summary

Enhance is a web standards-based HTML framework designed to simplify the process of building multi-page applications (MPAs) using progressive enhancement principles. It allows developers to create applications starting with a simple HTML file and incrementally adding components, styling, interactions, and data, without the necessity of JavaScript. Enhance facilitates smaller bundle sizes, improved performance, and easier team collaboration by adhering to web standards and utilizing web components for reusability and scoped styling. The framework features a file system-based router for both page and API routes, enabling developers to handle server requests efficiently. Through progressive enhancement, developers can build applications that function with or without JavaScript, enhancing user experience by allowing immediate data display without page reloads, as demonstrated in a sample project that transforms text to uppercase. Enhance's approach ensures that applications remain functional even with JavaScript disabled, embodying the progressive enhancement philosophy.