What will happen if our users do not have working JavaScript in their browser? Many modern web applications would stop working properly, leaving non-technical users with no way to accomplish what they are trying to do.
Progressive enhancement presents itself as a pattern for gracefully degrading UX features in the absence of JavaScript, and delivering the full capabilities of modern websites when we have working JavaScript in our users’ browsers. Using HTMX as a framework with server-side rendering (SSR), and taking advantage of current HTML and CSS features, we create a fully functional, interactive application that works for all users in all situations. In addition, we will explore the integration of React or similar frameworks and modern web components with this approach. We will also look at other advantages, such as page rendering speed and size, compared to other solutions.