r/webdev • • 21h ago

Discussion Whats one thing you used to do in web dev that you completely stopped doing?

62 Upvotes

I was looking through some old projects recently and honestly cringed at a few decisions i made back then. From putting way too much logic in components to overcomplicating simple features, there are things I'd definitely approach differently today.

Im curious what that looks like for other developers. Is there a framework, coding habit, workflow, or even a popular practice you used to swear by but eventually realized wasnt worth it?


r/webdev • • 16h ago

Do even find it enjoyable to create personal projects anymore?

43 Upvotes

I've lost pretty much all my enjoyment for it recently. I know I can hand code it still, but it doesn't feel the same anymore. My Github was flooded with green but its dwindled down my reward system.

If you do, what are you making to feel the same reward of problem solving? If you don't, what do you do instead?


r/webdev • • 13h ago

Resource GitHub - jantimon/css-in-js-bench: CSS-in-JS benchmarks: SSR throughput, payload, hydration and interaction cost of React styling libraries on identical workloads

Thumbnail
github.com
6 Upvotes

r/webdev • • 13h ago

Advice on Bot Traffic

5 Upvotes

My website is getting drowned in bot traffic and crawlers. Based on what I see other people posting, it looks like a lot of this may be Meta bots. Biggest offenders are coming from Singapore, Brazil, China / North Bergen. I feel like I can tell since those visits are almost all 100% or otherwise really high bounce rates.

I've set up a few rules, like a challenge for certain countries, a deny for common bot agent names, as well as some rate limiting for the pages that seem to be hit most by this traffic.

Even with these changes, I can't be sure, but I would guess maybe 50% or more of my traffic in the last 30 days is still bots.

How are you handling this? If I could see a greater benefit to bot traffic I might not mind as much, but I'd rather save my resources for real users. I also find it a lot more difficult to use basic analytics as an aid for further development when its difficult to parse what behaviors or real.


r/webdev • • 21h ago

Question Stack suggestion for a small project me and my friends are planning to make?

4 Upvotes

Stack suggestion for a small project me and my friends are planning to make?

My friendgroup who are a mix of CS and IT students have been into bowling lately, and we had the idea to track our scores and sessions.

We are still brainstorming ideas for features but currently we thought of: User creation for saving profiles and scores, Creating groups with or without registered users, Save individual scores, group sessions, and group leaderboards.

For our current stack:

Prototyping:

- Figma

Front-End:

- CSS

- ReactJS

Backend:

- Express

- PostgreSQL

Hosting:

- Supabase

-Vercel

-or our friend that is into homelabbing

Please suggest other features as well. This is just something we want to make for fun and for learning.

Thanks in advance!


r/webdev • • 20h ago

Question Is it worth bundling HTTP requests?

1 Upvotes

I am making a web server for a site and I need experienced server devs or browser experts to answer this question. My goal is to load the site as fast as possible. Every page has a "main" script that may need a number of "components", I could solve components in 2 ways: 1) write a bunch of individual `modulepreload` tags; 2) write a unique URL `modulepreload`.

Solution 1 is going to be 5, 10, 20 individual HTTP round trips.

Solution 2 will always be just one request, but there will be many unique URLs across the site, which hurts caching.

To clarify, the server itself doesn't matter - it has no work besides immediately sending back a file. I just can't pick a solution, considering my lack of expertise. I haven't measured actual performance of either solution because I kind of can't right now.

Solution:

I will go with individual modulepreload tags considering modern HTTP multiplexing, and cache benefits.


r/webdev • • 14h ago

Discussion XSLT polyfill extensions went from under 100k to 300k Chrome users in about a month

0 Upvotes

Two extensions that put XSLT back into Chrome are blowing up right now. XSLT Polyfill went from around 70k users in early October to 200k, and 100k of that was just the last two weeks. XSLT Browser Support went from about 6k in late October to 100k.

They make styled RSS feeds and XML sitemaps render again and bring back XSLTProcessor.

I'm guessing thats people hitting Chrome 158 dropping XSLT last week on old feeds or internal tools. Anyone here actually run into it? curious what broke for people


r/webdev • • 10h ago

Discussion I would like to publish my project on programming subreddits but I have kind of AI-coding related anxiety

0 Upvotes

I made it entirely with AI, there isn't a single line of code written by hand. It took at least a thousands prompts and hundreds of hours of work. I feel like it's propably a cool project and genuiely want to share it with people, but I've been reading this and other similar subreddits for the last year and it built up in me a kind of anxiety that it will meet the same fate as countless other projects I've seen. The most upvoted comment will be "you didn't do it, claude did" and most people will just ignore the amount of work that was put into it.

I am sorry I know this is silly and cringy post, I'm just looking for anything that will give me courage to show off my work.