Modern web development has become a theater of the absurd in some corners of the industry. To display a heading, a few paragraphs, some images, and a contact form, developers build entire client-side applications, pull in dozens of dependencies, configure build pipelines, and force browsers to execute code that the page could function perfectly well without.
A simple link becomes a component. Submitting a form becomes an asynchronous operation with state management. Navigation becomes a separate software subsystem. Displaying text becomes the result of executing JavaScript.
And then come the discussions about optimization, hydration, performance, and reducing load times.
First, they create a problem that never existed. Then they heroically solve it. And call it modern web development.
JavaScript is a powerful programming language. But its capabilities do not make its use mandatory. Most conventional informational websites do not need full-fledged client-side applications. They need HTML, CSS, server-side logic, and a minimal amount of additional code where it serves a genuine purpose.
Everything beyond that requires justification. Not because it's fashionable. Not because React is popular. And not because the developer happens to be comfortable writing JavaScript. The justification must come from actual system requirements.
1. Browsers Already Know How Websites Work. Stop Writing Another Program to Do Their Job
Let's start with the simplest possible example: a regular hyperlink.
Here's perfectly good HTML:
<a href="/research/">Research</a>
That's it. Problem solved.
The browser understands the link, handles navigation, lets users open the destination in a new tab, copy the URL, bookmark the page, and use standard navigation features.
No JavaScript. No event handlers. No additional dependencies.
Now let's see how someone could make the exact same task needlessly complicated:
<span id="research-link" role="link" tabindex="0">Research</span>
<script>
const link = document.getElementById("research-link");
function navigate() {
window.location.href = "/research/";
}
link.addEventListener("click", navigate);
link.addEventListener("keydown", function(event) {
if (event.key === "Enter") {
navigate();
}
});
</script>
This code does navigate when someone clicks the element or presses Enter. But instead of using a single HTML element, the developer has built a small software contraption to imitate an ordinary hyperlink.
Let's take a quick look at what's happening.
- Instead of using the semantic
<a>element, the developer uses a<span>and manually assigns it the role of a link. - The
tabindexattribute adds the element to keyboard navigation because a<span>is not inherently interactive. - JavaScript searches the document for the element and attaches event handlers.
- A separate function performs navigation that the browser already handles natively.
- The developer manually implements Enter-key handling because they chose the wrong HTML element in the first place.
And after all that work, the result is still an inferior replacement for a normal link.
It doesn't provide a real destination through href. Standard browser features such as opening the link in a new tab or copying its address no longer work as expected. Without JavaScript, navigation disappears entirely.
In other words, the developer wrote more code, introduced more failure points, and made the interface less capable than the original HTML.
This isn't an alternative architecture. It's nonsense dressed up as engineering.
This is what a remarkable amount of unnecessary client-side development looks like: replace native browser behavior with custom code, then spend more time trying to restore the capabilities you just threw away.
Of course, this is a deliberately exaggerated example. Well-designed JavaScript frameworks support real hyperlinks and preserve their semantics. But the example exposes the underlying problem: writing software to reproduce existing browser functionality without a concrete need is bad engineering.
2. Hundreds of Kilobytes of JavaScript for a Text Page Isn't Progress
Imagine a typical corporate website. Its homepage contains a heading, navigation, several content sections, images, and a contact form.
Which of those features requires a full client-side application?
None of them.
Yet instead of receiving ready-to-render HTML, the browser sometimes gets an application shell, a collection of JavaScript files, and instructions for constructing the interface.
Developers can talk endlessly about the advantages of their preferred stack. None of that changes what happens on the user's device. It still has to download, parse, compile, and execute the code.
All to display content the server could have delivered as a complete document.
The consequences become particularly obvious on lower-end smartphones. Code that runs almost instantly on a developer's powerful workstation may introduce noticeable delays on an ordinary visitor's device.
And what exactly does the user get in exchange for that additional overhead?
They don't need hydration to read an article. They don't need state management to see a company's phone number. They don't need a client-side router to open another page.
The developer gets their favorite stack. The user pays for that convenience with their device's resources.
JavaScript bundle size is not the only measure of performance. Computational workload, DOM operations, network requests, and application behavior also matter.
But that doesn't excuse unnecessary code. It means the entire cost of running that code needs to be considered.
And when JavaScript isn't needed, the best optimization is obvious: don't send it to the browser in the first place.
3. Client-Side Rendering: Why Make Delivering HTML More Complicated?
Server-side rendering solves a straightforward problem in a straightforward way.
A user opens a page. The server receives the request, retrieves the necessary data, generates HTML, and returns a complete document.
Browser → HTTP request → Server → Data and template → Rendered HTML → Content displayed
Now consider an architecture where the main content is generated entirely on the client.
Browser → HTTP request → HTML shell → Download JavaScript → Execute application → Fetch data → Build interface → Content displayed
That's more processing stages and more dependencies before the content becomes available.
If JavaScript fails to load, execution throws an error, or a required request fails, the user may be left without the information they came to see.
So here's the obvious question: why introduce that dependency for an ordinary text page?
Some modern frameworks support server-side rendering, static generation, and server components. Claiming that every React or Next.js website necessarily follows the second model would be technically ignorant.
But the existence of server-rendering capabilities doesn't eliminate the need to evaluate the architecture actually being deployed.
What does the server return? Is the main content present in the initial HTML? How much JavaScript does the client receive? What happens if script execution fails?
Those are the questions that matter.
If reading an ordinary article requires running a client-side application first, the developer has manufactured a problem out of nothing.
4. Hydration: An Elaborate Way to Give a Page Back What It Already Had
Hydration connects server-rendered HTML to client-side JavaScript behavior.
That can be useful in complex interactive applications. But applying it indiscriminately to content-heavy pages raises some obvious questions.
A heading doesn't need hydration.
A paragraph doesn't need hydration.
A list of links doesn't need hydration.
A static service card doesn't need hydration.
If an entire page depends on a client-side framework simply because that's how the project's starter template was designed, the problem isn't the website's requirements.
It's the architecture.
The situation becomes particularly ridiculous when a team builds a website around JavaScript, then starts looking for ways to reduce client-side code, move components back to the server, and display content without waiting for hydration.
In other words, they're trying to restore capabilities that conventional server-rendered pages had from the beginning.
Don't break a simple architecture just so you can demonstrate your expertise in putting it back together.
5. JavaScript Can Block the Interface. Users Shouldn't Have to Put Up With It
A substantial amount of JavaScript executes on the browser's main thread.
That same thread participates in processing user input, calculating layouts, and updating the interface.
When a script occupies it with a long-running task, the browser may delay responding to user interactions.
Someone clicks a button. Nothing happens. They click again. The application remains unresponsive.
Eventually, the interface catches up.
The developer explains that the application is complicated, JavaScript execution has certain characteristics, and further optimization is necessary.
The user couldn't care less about those explanations. As far as they're concerned, the website is slow.
Google uses Interaction to Next Paint (INP) to evaluate interface responsiveness. A good target is 200 milliseconds or less at the 75th percentile of user interactions.
JavaScript isn't the only factor affecting INP. But long tasks on the main thread are one way responsiveness can deteriorate.
Of course, a small event handler doesn't necessarily create noticeable overhead. Web Workers and other techniques can move certain computations away from the main thread.
But why give the browser additional work when that work serves no purpose?
An architecture that burdens the user's device first and then requires a separate optimization effort to undo the damage is not good engineering.
6. A Framework for a Dropdown Menu Isn't Engineering. It's Dependency Addiction
Need a dropdown menu? Install a library.
Need a notification? Install another one.
Need to submit a form? Add an HTTP client library.
Need to remember a field value? Better introduce state management.
Need to animate a card? Obviously, that calls for another package.
That's how a simple page gradually turns into a software complex complete with build tools, dependencies, configuration files, and an entirely new collection of problems.
Instead of learning what HTML and CSS can already do, the developer searches for another package.
Instead of solving the problem, they expand the stack.
Instead of reducing the number of moving parts, they add more.
This doesn't describe every frontend developer. But the practice is real, and it shouldn't be treated as normal.
Third-party libraries absolutely have legitimate uses. Some provide complex functionality more reliably than a custom implementation could.
But a library should solve an actual problem, not compensate for a lack of engineering judgment.
If three links and a dropdown require an entire client-side application, the developer has chosen a tool wildly out of proportion to the task.
That's their mistake, not an achievement of modern frontend development.
7. Every Dependency Is a Maintenance Obligation
Installing a library is easy. Especially when the package manager handles everything automatically.
But easy installation doesn't mean free maintenance.
Packages receive updates. Their interfaces change. Vulnerabilities are discovered. Version conflicts appear. Some projects are abandoned entirely.
Then there are transitive dependencies that developers may not even realize they've introduced.
Eventually, the website gets handed over to the client.
And along with the website, the client inherits responsibility for maintaining the entire technological zoo.
Need to update the interface? First, check package compatibility.
Need to patch a vulnerability? Figure out who introduced the affected library and why.
Need to hand the project to another developer? They'll have to untangle an architecture built around features that browsers already provide.
Of course, server-side dependencies require maintenance too. This isn't exclusively an npm problem.
But that doesn't justify introducing more client-side components than the project needs.
Someone else's code doesn't become free just because you can install it with a single command.
8. A Website That Stops Working Without JavaScript Has an Unnecessary Point of Failure
Consider two corporate websites.
On the first, JavaScript provides additional interactive features. If scripts fail to load, visitors can still read content, follow links, and submit forms.
On the second, the main content depends on a client-side application.
One JavaScript error, and the visitor gets a blank page.
This isn't an abstract philosophical distinction. It's a difference in architectural resilience.
For most public informational websites, basic functionality should not depend on optional interface enhancements.
This principle is known as progressive enhancement.
Build a working foundation first. Add interactivity afterward.
Not the other way around.
Contact forms should have server-side handlers. Links should point to real URLs. Core documents should exist independently of client-side applications.
JavaScript can improve the experience, but it shouldn't be the only reason the website works at all.
When an optional feature fails, it shouldn't take the essential functionality down with it.
9. JavaScript and SEO: Why Make Google Run a Program Just to Read Text?
One of the favorite arguments from proponents of client-side rendering goes something like this: Google has been able to execute JavaScript for years.
Yes, it can.
So what?
Google describes JavaScript page processing in terms of crawling, rendering, and indexing.
When the main content is already present in the server's HTML response, it can be accessed without first generating the content through a client-side application.
When text only appears after JavaScript executes, the search engine must obtain that content through rendering.
Google explicitly acknowledges that pages may wait to be rendered. It also recommends server-side or pre-rendering approaches as useful for both users and search crawlers.
Which raises a simple question.
Why introduce an additional dependency into the indexing of ordinary text?
Why should an article's headings, links, and content appear only after a program executes?
Why can't the server simply return a complete document?
For a typical informational website, there's no convincing justification for that architecture.
Server-side generation can deliver primary content, links, metadata, and structured data directly in the HTML response.
That doesn't guarantee search rankings. Search performance depends on many factors, including content quality, site architecture, accessibility, and technical implementation.
But eliminating an unnecessary dependency on client-side rendering removes an entire category of potential problems.
"Google can execute JavaScript" is not an explanation for why you should make it do so just to read an ordinary article.
10. Unnecessary JavaScript Expands the Attack Surface
JavaScript is not a security vulnerability by itself.
But every additional client-side component increases the amount of code whose security needs to be monitored.
Carelessly loading third-party scripts is particularly dangerous.
Analytics trackers, advertising platforms, widgets, chat tools, and other integrations may execute code within the context of a page.
A compromised external resource can put visitors at risk. Improper data handling can create cross-site scripting vulnerabilities. Third-party code may gain access to information available within its browser execution context.
OWASP specifically addresses third-party JavaScript risks, including loss of control over code changes, unauthorized behavior, and exposure of sensitive information.
Some of these risks can be reduced through Content Security Policy, Subresource Integrity, content isolation, and dependency management.
But no security mechanism turns an unnecessary integration into a necessary one.
Security and attack-surface reduction are not the same thing. A website without JavaScript is not automatically secure. Server-side vulnerabilities, authorization flaws, and configuration errors still exist.
However, removing unnecessary client-side components reduces the number of elements that must be controlled.
It's better not to load a questionable script in the first place than to spend time defending against the problems it introduces.
11. A Standard HTML Form Doesn't Need JavaScript
Browsers can submit forms without client-side programming.
That's one of the web platform's most basic capabilities.
Here's a standard form:
<form method="post" action="/request/">
<label for="email">Email</label>
<input type="email" id="email" name="email" required>
<label for="message">Message</label>
<textarea id="message" name="message" required></textarea>
<button type="submit">Send request</button>
</form>
The browser collects the data and sends an HTTP request to the server.
The server validates the input, processes the submission, and returns a response.
A real application also needs server-side validation, CSRF protection where applicable, error handling, and other security measures. None of that requires turning the form into a client-side application.
JavaScript can improve the experience by showing previews, updating dependent fields, or submitting data without a full page reload.
But when someone is simply entering their name, email address, and message, why build an additional software layer?
Why manually intercept submission, construct a request, manage loading states, and recreate behavior the browser already provides?
"Because our entire project uses React" is not a technical justification.
Standard HTML forms aren't outdated technology. Writing unnecessary code to imitate native browser behavior is the outdated habit.
12. Not Every Interaction Needs to Happen Without a Page Reload
In parts of modern frontend development, a normal page load is treated almost like a technical defect.
But users don't care whether a website uses client-side routing or conventional HTTP navigation.
They care about something else.
- Does the page open quickly?
- Can they find the information they need?
- Is navigation clear and predictable?
- Do forms submit correctly?
- Is their input preserved when necessary?
- Does the interface respond without unnecessary delays?
If all of that works, nobody should care that the site isn't an SPA.
For complex editors, analytics platforms, and other productivity-focused interfaces, asynchronous interactions can provide substantial benefits.
But applying the same architecture to a conventional corporate website purely for technological consistency is a questionable decision.
A website doesn't need to pretend it's a desktop application to be modern.
13. When JavaScript Actually Makes Sense
Refusing to use JavaScript purely on principle is just as poor an engineering decision as using it everywhere.
Some tasks genuinely require client-side logic or benefit substantially from it.
Examples include interactive maps, document editors, advanced analytics dashboards, monitoring interfaces, data visualizations, and applications with intensive user interaction.
But those requirements don't mean the entire website needs to become a JavaScript application.
There's a fundamental difference between client-side code performing a specific function and an architecture where JavaScript is responsible for practically everything.
| Task | Reasonable Approach |
|---|---|
| Publishing an article | Server-rendered HTML |
| Corporate website page | HTML and CSS |
| Standard navigation | Native hyperlinks |
| Contact form | HTML and server-side processing |
| Responsive layout | CSS |
| Live URL preview | Small JavaScript enhancement when needed |
| Interactive charts | JavaScript based on functional requirements |
| Complex dynamic tables | Client-side logic when justified |
| Document editors | Appropriate client-server architecture |
| Real-time monitoring | Architecture based on data update requirements |
If HTML and CSS fully solve the problem, JavaScript isn't required.
If a small native script is enough, there's no reason to introduce a large framework.
If an operation belongs on the server, don't automatically move it into the browser.
The technology should fit the problem. Not the other way around.
14. A Public Website and a Complex Information System Are Different Products
One reason websites become unnecessarily complicated is the attempt to apply the same architecture to fundamentally different interfaces.
Visitors to a corporate website typically read content, explore services, navigate between pages, and submit inquiries.
Users of an information system create records, edit documents, manage data, work with tables, and perform numerous consecutive operations.
In the second case, interactivity can have a significant impact on productivity.
But even there, a full SPA is not mandatory.
The server can render HTML, process forms, handle routing, enforce access controls, and execute business logic.
JavaScript can enhance the interface where it genuinely improves the user's workflow.
This architecture can be implemented with Django, Laravel, Rails, and other server-side technologies.
It doesn't necessarily require duplicating application logic between the client and server or building a separate API solely so your own frontend can communicate with your own backend.
An API makes sense when it serves actual consumers or functional requirements, such as independent applications, external integrations, or specialized interfaces.
But introducing another architectural layer just to satisfy the assumptions of a frontend template increases project costs without demonstrated value.
A good system doesn't need to use every available technology. It needs to solve the problem with the least complexity reasonably necessary.
15. Measure Performance. Don't Assume Your Stack Guarantees It
A website without JavaScript can still be slow.
Oversized images, inefficient database queries, slow servers, and render-blocking CSS can ruin the user experience regardless of the client-side architecture.
So removing JavaScript doesn't automatically guarantee excellent performance.
But that doesn't justify using more of it than necessary.
Core Web Vitals provide one set of metrics for evaluating user experience.
| Metric | Good Threshold |
|---|---|
| LCP — Largest Contentful Paint | 2.5 seconds or less |
| INP — Interaction to Next Paint | 200 ms or less |
| CLS — Cumulative Layout Shift | 0.1 or less |
These thresholds are evaluated at the 75th percentile of real-user visits. They don't guarantee search rankings and aren't a substitute for comprehensive technical analysis.
Developers should also examine JavaScript payloads, execution time, long tasks on the main thread, network requests, and the impact of third-party components.
But before spending time optimizing scripts, there's a more fundamental question to ask.
Why are those scripts on the page at all?
It's better not to execute unnecessary code than to spend time proving it executes quickly enough.
16. Real Professionals Know When Not to Use a Technology
There's a fairly simple way to distinguish an architectural decision from a technological habit.
Ask a developer why a particular website needs the JavaScript framework they've chosen.
Don't ask them to list its features.
Don't ask how popular it is.
Don't ask which major companies use it.
Ask them to explain which specific project requirement the framework satisfies better than a simpler architecture.
If the answer comes down to "it's easier for us," "it's the modern standard," or "that's how we always build websites," you haven't received a technical justification.
You've received a description of the contractor's habits.
Developer productivity matters. But it must be evaluated alongside reliability, accessibility, performance, security, and long-term maintenance costs.
Complex systems genuinely require complex solutions.
But that complexity should come from project requirements, not from the developer's limitations.
If a developer can only build an ordinary website with a heavyweight JavaScript framework, that doesn't demonstrate the framework's superiority. It demonstrates the developer's limitations.
17. Our Approach: HTML and Server-Side Logic First. JavaScript Only When Necessary
At Wanderer Area, we follow a straightforward principle: server-first, HTML-first, progressive enhancement.
The main content of public pages is generated on the server.
HTML defines the document structure.
CSS handles presentation, responsive layouts, and visual states.
The server handles routing, data access, form processing, access control, and business logic.
JavaScript is introduced only when it provides a specific functional advantage.
For ordinary informational pages, we see no reason to make the browser responsible for generating the main content.
We don't need React to display an article.
We don't need a client-side router to navigate between publications.
We don't need a state management system for a contact form.
We don't need a complicated dependency chain when native browser capabilities already solve the problem.
This isn't a rejection of modern technology.
It's a rejection of using technology without a good reason.
Development should begin with understanding the problem, not choosing your favorite framework.
Conclusion: JavaScript Should Have to Earn Its Place on the Page
Modern web development too often follows a backward process.
First, someone chooses a client-side framework.
Then they build the architecture around it.
Next come dependencies, build systems, routing, and state management.
After that, the problems begin: performance, indexing, accessibility, and maintainability.
And the developers get to work fixing them.
Even though many of those problems never needed to exist.
For most conventional content-driven websites, HTML, CSS, and server-side logic can deliver the core functionality without requiring JavaScript execution.
That's not going backward. That's using the web platform as intended.
JavaScript belongs where it solves a concrete problem that cannot reasonably be handled with simpler tools.
Everywhere else, it means additional code, additional cost, and additional responsibility.
There should be no exceptions just because something is fashionable.
No excuses based on a framework's popularity.
No worship of technological complexity.
Before adding JavaScript, a developer should answer one question: what specific problem does it solve?
If there's no convincing answer, the code doesn't belong there.
If standard HTML fully handles the task, there's no reason to complicate it with programming.
If a website can function properly without JavaScript, making it artificially dependent on JavaScript is a bad engineering decision.
And no amount of talk about modern frontend development is going to change that.
Sources
- Google Search Central — Understand the JavaScript SEO Basics. Official Google documentation on crawling, rendering, and indexing JavaScript-powered pages.
- web.dev — Optimize Interaction to Next Paint. Technical guidance on improving interface responsiveness and reducing delays in user interaction processing.
- web.dev — Optimize Long Tasks. An explanation of long tasks on the browser's main thread and their impact on user experience.
- OWASP — Third Party JavaScript Management Cheat Sheet. Security risks associated with third-party JavaScript and methods for controlling external components.
- web.dev — Core Web Vitals. Definitions of LCP, INP, and CLS, including their recommended thresholds.