Topics /

Web & Frontend

The most popular blog posts about web & frontend on Hacker News. 8,465 posts.

Any year
516

Please stop using CDNs for external JavaScript libraries

I want to discuss a (minor) antipattern that I think is (slightly) harmful. Lots of websites use large Javascript libraries. They often include them by using a 3rd party Content Delivery Network like so: Copied HTML to 📋⧉ HTML<script src="https://cdn.example.com/js/library-v1.2.3.js"></script> There are, supposedly, a…

519

Annotation is now a web standard

Over the years, many have tried to bring us web annotations. On 23 February 2017, things took a giant leap forward when the W3C, the standards body for the web, standardized annotation. Yesterday, on February 23, things took a giant leap forward when the W3C, the standards body for the Web, standardized annotation…

523

Simple React Patterns

I've been writing React applications for a few years now, and I've noticed that some patterns tend to repeat themselves. In this post, I'll review these patterns which will summarize about 99% of the React code I write every day.

531

XMLUI

In the mid-1990s you could create useful software without being an ace coder. You had Visual Basic, you had a rich ecosystem of components, you could wire them together to create apps, standing on …

533

No adblocker detected

Internet ads are horrible: They waste your time, and the industry behind them is actively making the internet a worse place. Payouts are so small that the only way to survive is to turn your site into an ad-filled hellhole with no real substance. (see: Modern social media )

540

CSS for printing to paper

At work, one of the things I do pretty often is write print generators in HTML to recreate and replace forms that the company has traditionally done handwritten on paper or in Excel. This allows the company to move into new web-based tools where the form is autofilled by URL parameters from our database, while getting…