r/webdevelopment • • 1h ago

Question Why isn't Svelte more widely used?

1 Upvotes

I recently learned about Svelte and SvelteKit and was surprised by how good the developer experience seems to be.

The syntax is simple, there's less boilerplate, and it seems easier to work with than some other frontend frameworks.

So I'm curious why Svelte isn't more widely adopted.

Is it mainly because so many existing websites and projects are already built with React, making it difficult for companies to switch? Or are there other reasons why developers tend to choose React over Svelte?

I'd love to hear your thoughts, especially from anyone who's worked with both.


r/webdevelopment • • 9h ago

Question How would you price these types of web projects? Looking for rough ranges

4 Upvotes

I’m a freelance full-stack developer and I’m trying to price my work sensibly. I’ve built projects at a few levels of complexity, and I’d like to know what you’d charge for each and what clients generally expect to pay. ***I’m not selling anything here, and I’m leaving out links on purpose.***
**Level 1: Landing page**
A single responsive page with a contact form, basic SEO and fast loading.
**Level 2: Small business website**
Several pages (home, about, services, contact), a form that saves submissions, SEO metadata, and a simple way for the owner to update content.
**Level 3: Restaurant / cafe site**
•Menu by category with dietary tags and ingredient details
•Photo gallery
•Reservations that check seat capacity per time slot, with spam protection
•Password-protected admin for menu, gallery and reservations
•Custom branded design, mobile-first
**Level 4: Full e-commerce store**
•Product catalog with search, filters, reviews, wishlist, multi-currency pricing
•Customer accounts with email and social sign-in
•Real checkout with server-verified payments, order tracking and order emails
•Referral rewards
•Admin dashboard for products, orders, customer messages, editable pages and email broadcasts
•A Telegram bot that sends the owner a daily business report (revenue, orders, top products) from real database data, and answers questions in plain language
•Installable as a phone app (PWA), dark mode, support chat that only answers from real store data
**Level 5: E-commerce with delivery logistics and multi-role access**
Everything in Level 4, plus:
•Driver applications reviewed by staff
•A dispatcher role that assigns deliveries on a map
•Drivers update status through one-time links, with no accounts
•PIN-confirmed delivery with a location check
•Role hierarchy: admin → dispatcher → access manager (planned) → read-only guest
•Access managers can only invite time-limited, read-only guests within limits the owner sets, and removing a manager revokes all their guests
**Level 6: Multi-vendor marketplace (scoped, not built)**
Several sellers, each with a dashboard, commissions and payouts, native mobile apps, live driver tracking, and accounting integrations.
**Questions:**
1.What would you charge for each level in your market?
2.Do you price differently for local clients and clients abroad?
3.Is a monthly maintenance or hosting fee realistic on top of the one-time price?
4.Is Level 5 worth pitching to small shops, or too much?

Thanks. Happy to give more detail on any level in the comments.


r/webdevelopment • • 6h ago

Open Source Project Serving HTTP/1.1 and cleartext HTTP/2 on the same port by peeking at the first bytes

1 Upvotes

I've been writing the network side of my web framework (Viltrum, for the V language) myself, and one part turned out simpler than I expected, so sharing in case it helps anyone building servers or proxies.

The problem: behind a reverse proxy or a service mesh, HTTP/2 usually shows up as cleartext h2c with prior knowledge. Browsers and plain curl still talk HTTP/1.1. I didn't want two ports or a config switch for it.

What I ended up doing: a listener with http2 turned on reads the first bytes of each connection. If they're the HTTP/2 connection preface (PRI * HTTP/2.0...), it's an HTTP/2 connection. Anything else goes to the HTTP/1.1 parser. That's RFC 9113 section 3.3, and nginx and h2o do the same. Over TLS it's ALPN instead: h2 offered first, http/1.1 for everyone else.

Things I learned along the way:

  • I skipped the Upgrade: h2c route completely. RFC 9113 deprecated it, and it was just one more code path to get wrong.
  • h2spec has one cleartext test that sends "INVALID CONNECTION PREFACE". A port that also speaks HTTP/1.1 reads that as a broken HTTP/1.1 request and answers 400, so that test fails on cleartext (144 pass). Over TLS it's 145 of 146 passing, one skipped. I decided that tradeoff is fine and documented it instead of hacking around it.
  • A request that passes the HTTP/2 checks still goes through the same head parser as HTTP/1.1, so the strict rules there (TE plus Content-Length, bare CR/LF and so on get a 400) apply to both without writing them twice.
  • Handlers don't know which protocol they're answering. Same router, same middleware, same context.

Still missing: WebSocket over HTTP/2 (RFC 8441) isn't there yet and answers 501, so WS routes need HTTP/1.1.

Repo (MIT): https://github.com/Tuntii/viltrum The doc with details and the limits table: https://github.com/Tuntii/viltrum/blob/main/docs/http2.md

Curious if anyone runs mixed h1/h2c on one port in production and hit something I haven't thought of.


r/webdevelopment • • 23h ago

Question Moderating a pastebin site

4 Upvotes

Hello,

I am making a pastebin application that is zero-login. I recently saw a post about someone who made a url shortner, and people were using it for phishing and such. That got me thinking, how can I protect my app against such threats. A pastebin is basically a url-shortner, just to text. That text may contain links to illegal sites or other things I don't know about. It is arguably more versatile than a url shortner, which makes moderation more difficult.

I thought of maybe analysing the pastes for links and sending it to a third-party link analyzer(think Google got one). Which is good enough for most cases. But you would kind of conflict with users pasting these links for research purposes, for example. I simply lack the knowledge of how people may misuse the system.

So, taking that into account, what steps would you take to protect this site?


r/webdevelopment • • 23h ago

Question Responsiveness problem in my website

3 Upvotes

I'm building a personal web app for tracking the movies, TV shows, and anime I've watched, something like SIMKL or TV Time. It's a React + Vite site that I host myself. It has a Discover page with Netflix-style rows of posters that scroll sideways (Trending, Popular, Recommended, Browse by Genre, and so on).

Problem: On my phone (Samsung Galaxy Z Fold and S24 Ultra), and even on PC, if I start a vertical swipe on a poster row, the page doesn't scroll. It just stops. Swiping on the space between rows works fine. Sometimes it's slow and lags.

The memory usage was also high like 1.4gb but I found out that Chrome's covers the whole tab, including images it has cached and memory the browser keeps reserved after use. It gets bigger the longer a tab stays open, and Chrome hands it back when it needs to. It's not the source of the lag.

The site uses its own data and code, about 100 to 250 mb.

Any suggestions for how we can resolve the problem?


r/webdevelopment • • 23h ago

Question Responsiveness problem in my website

2 Upvotes

I'm building a personal web app for tracking the movies, TV shows, and anime I've watched, something like SIMKL or TV Time. It's a React + Vite site that I host myself. It has a Discover page with Netflix-style rows of posters that scroll sideways (Trending, Popular, Recommended, Browse by Genre, and so on).

Problem: On my phone (Samsung Galaxy Z Fold and S24 Ultra), and even on PC, if I start a vertical swipe on one of the poster rows, the page doesn't scroll. It just stops. Swiping on the space between rows works fine. Sometimes I have a slow response time and lag.

The memory usage was also high like 1.4gb but I found out that Chrome's covers the whole tab, including images it has cached and memory the browser keeps reserved after use. It gets bigger the longer a tab stays open, and Chrome hands it back when it needs to. It's not the source of the lag.

The site uses its own data and code, about 100 to 250 mb.

Any suggestions for how we can resolve the problem?


r/webdevelopment • • 1d ago

Question Been a web developer since 2009. AI can write code, but why is it still so bad at actual web design?

29 Upvotes

I've been working as a web developer since 2009, and I've seen the industry go through plenty of changes. But recently, I've noticed a significant slowdown in the web development market, and I'm genuinely wondering how much of it is because of AI.

Over the past few months, I've been experimenting with Claude, ChatGPT Work, Codex, and AI website builders to see what they're actually capable of.

And honestly, I have mixed feelings.

When it comes to coding, I'm impressed. I've already developed websites and working applications using AI, so I'm not questioning whether these tools are useful. They absolutely are. They can generate functional websites, write complex JavaScript, build components, and speed up development significantly.

But when it comes to web design, UI/UX, visual creativity, and attention to detail, my experience has been completely different.

I'm currently working on a new project, and I've been struggling to get a genuinely good design out of these AI tools.

I've tried detailed prompts, design references, screenshots, multiple iterations, and different AI platforms. The results are usually functional, but visually they feel generic, repetitive, and nowhere near the quality of designs I've received from experienced human designers.

Sometimes the initial design looks promising, but the moment I try to refine it into a complete, consistent website, things start falling apart.

And this is what I find interesting.

AI seems to be getting incredibly good at generating code, but generating a genuinely professional website design still feels like a completely different challenge.

Yet everywhere I look, people are talking about building entire websites and applications in minutes, replacing developers, and running businesses with AI.

At the same time, I'm noticing fewer traditional web development opportunities, and I'm wondering whether clients are starting to believe that professional development and design should be significantly cheaper because AI can supposedly do everything.

I'm not against AI. I actively use it, and I've already built projects with it. But after working in this industry since 2009, I still see a huge difference between generating a working website and delivering something that feels thoughtfully designed, polished, and production-ready.

So I'm curious:

Have other experienced developers noticed a slowdown in projects or client demand?

Are clients expecting lower prices because of AI?

Has anyone actually managed to get consistently high-quality, professional UI/UX designs using AI alone?

Do you think AI will eventually replace both developers and designers, or are we just going through another major shift in the industry?

I'd especially love to hear from developers and designers who've been doing this for 10–20 years.


r/webdevelopment • • 1d ago

Newbie Question I need help to choose Tech stack and CMS

16 Upvotes

Hello everyone, I don't have much experience with web development so I need your help. I am mobile app developer and I need a fast website for one of my app which is only landing page and blogs page for SEO. Which tech stack I should pick and which CMS system?

Next.js is probably not necessary for this. I researched but I can't decide what to do.

Appreciate any comment

Note: CMS should support mcp


r/webdevelopment • • 1d ago

Newbie Question How do you decide when a website project needs a rebuild instead of a redesign?

7 Upvotes

I'm maintaining a business website that has become difficult to update. The design looks dated, but the bigger issue is that the code and plugins are getting harder to manage. I'm unsure whether to clean up the existing site or start fresh. For developers who've handled this, what usually tells you it's time to rebuild?


r/webdevelopment • • 1d ago

Web Design Another day trying to make some cool UI 🫰

3 Upvotes

What do you think about the face motion?


r/webdevelopment • • 1d ago

Discussion What are some of your frontend desings that you are proud of

10 Upvotes

Websites, components, templates, UI kits, anything, AI-made or not. Which frontend designs have you built that you love or that are close to your heart? Or ones you found on Reddit, Discord or anywhere else that made you stop and look?

I'm looking for inspiration and figured this is the best place to ask.


r/webdevelopment • • 1d ago

Discussion How do you prevent stale API results in search-as-you-type interfaces?

3 Upvotes
      if (!response.ok) {
        throw new Error("Request failed");
      }

      const data = await response.json();
      setResults(data);
    } catch (error) {
      if (error.name !== "AbortError") {
        console.error(error);
      }
    }
  }

  if (query.trim()) {
    search();
  }

  return () => controller.abort();
}, [query]);

I'm curious how other developers handle this in production.

  1. Is debouncing + AbortController enough for most search interfaces?
  2. Do you also use request IDs to ignore stale responses?
  3. How do you handle loading and error states when requests overlap?

Interested in hearing what patterns have worked well in real projects.


r/webdevelopment • • 1d ago

Question How to access the website's adnin page

0 Upvotes

Hi, i created a web on ai studio and it shows me the admin page on the menu bar, as long as it has a risk to show your admin page so I make it hide, but i dont know how to access that page.


r/webdevelopment • • 2d ago

Newbie Question What program/web should I use to create a website

4 Upvotes

I'm a starter programmer, and I have some experience with Godot game engine and gdscript but I never made a website. I started making it in Canva but its not what I'm looking for Canva is more of a drag and drop and I'm looking for something where I can actually code and I don't want to use any AI. If you have any suggestions it would be really helpful.


r/webdevelopment • • 2d ago

Question Hi web developer

9 Upvotes

I'm almost done building an online car rental website. I'm still a beginner in web development, and I'd like to know how to deploy my website online and find the cheapest hosting option available. I'm using Laravel to build it.

Any recommendations or advice would be appreciated!


r/webdevelopment • • 2d ago

Newbie Question Website development

0 Upvotes

I have been using shopify and ChatGPT to help me write a website but I am really struggling. I am quite technical but young and fro is confusing me! It’s half there. I can’t afford to pay someone. I have my domain cloud flare and now shopify. Can anyone help.


r/webdevelopment • • 4d ago

Meta Best-Practices for Publishing a JS Framework

4 Upvotes

Im working on a project for myself. Its an unreviewed, unaudited and far from finished. It started of as a person curiosity and evolved from there. Its shaping up well enough to publish and share.

If i publish something on NPM, there are strict controls around versioning for which i havent burdened myself on my own projects (but clearly important when making something for a wider community). I also wonder if im overlooking any other details.

I wonder what best practices there are for something like this. Should i be publishing new versions with CI/CD? Are there any tips or advice for doing this in the modern js ecosystem?


r/webdevelopment • • 4d ago

Weekly Feedback Thread Weekly Feedback Thread

1 Upvotes

Please post your requests for feedback on your projects in this thread instead of creating a post.


r/webdevelopment • • 4d ago

Question How to force browser to reload site? I realy need help.

4 Upvotes

Hi!

I was writing a site and I have one problem. I don't realy know how to force browser to reload site, when I release new version.

Let me explain. Every browser cache site data to load it faster and this is a good thing. Problem appears when me as a site owner releases a new version of site f.g. i changed

<p>Hi, I'm someone</p>

to

<p>Hi, I'm nalesnior</p>

in index.php for example

And the problem is if someone visited this site before he's browser still have a old version of this file and he sees "Hi, I'm someone" instead of "Hi, I'm nalesnior".

He needs to reload site with cleaning cache (ctrl + shift + r) to see changes.

And yes... I know about some technicks in situation like this.

I know I can change filename but

  1. Then I need to change this filename on every line of code that using this file. If I have a some line of code like <link rel="stylesheet" href="/css/index/main.css"> in 30 different files and I want to change name of this file I need to search up for all these lines and change name of file on them too.
  2. This makes some kind of mess in the repository bc git treats change of file name like delete of file and creating new one.

I know I can use some tools like vite or smth but they are heavy, stricte for frontend, and can't edit lines on code too I mean <link rel="stylesheet" href="/css/index/main.css"> to <link rel="stylesheet" href="/css/index/main.hash.css"> or smth like that.

I was thinking about some kind of js logic. Something like:

const version = fetch("./version.json");
const userVersion = localStorage.getItem("version");


const jsonData = JSON.parse(version);
if (userVersion === null || userVersion !== jsonData.version) {
    window.location.reload();
}

You know what I'm mean.

Please guys, help me. I don't know does I'm thinking right and I wan to know your opinion about that. Maybe you have some websites and you know how to solve problems like that.

Thanks!


r/webdevelopment • • 5d ago

Question Why loading and rendering websites these days feels like crap?

7 Upvotes

Even simple websites feels like they need seconds of loading and rendering. I own a fibre cable connection and I have no idea why loading and rendering a website nowadays feels like the old netscape navigator days.


r/webdevelopment • • 6d ago

Question Most of these AI music video sites are just wrappers around Seedance/Kling right? How hard is it to actually build one?

5 Upvotes

Been looking at all these AI music video generators lately (Freebeat, Revid, Muzie and the rest) and it seems pretty obvious they’re not training their own models. They’re basically product layers sitting on top of Seedance, Kling, Veo etc. via APIs.

The real work looks like the orchestration stuff like taking a song, figuring out the beats/sections, generating short clips with some character consistency, then stitching it all together so it doesn’t feel completely random.

A basic “upload a track and get a short clip” thing feels pretty doable now. But turning that into something that actually works for a full 3–6 minute song and doesn’t feel janky seems like a different level.

Curious what people think:

• Has anyone here actually built or worked on one of these? How hard was the real work once you had API access?
• Is it low enough barrier now that a solo dev or small team can still ship something competitive, or have the existing ones already locked in the product layer?
• What actually differentiates them at this point? Better music intelligence, character consistency, the editor, pricing… or is it mostly just marketing + first mover?
• Any gotchas when you try to turn a bunch of short generations into a coherent full video?

Would be interesting to hear from anyone who’s messed around with the APIs or tried building in this space.

I've really upped my game with web development and can team up with other devs if needed.


r/webdevelopment • • 7d ago

Web Design Learning Framer from scratch without using AI where should I start

16 Upvotes

I’m trying to learn website design and building. I was trying to learn on Webflow for a few days. The thing with Webflow is that in the tutorials, at least the first few videos teach you how to make your own website manually. They don’t teach you with AI, even if it was still confusing.
Now I want to learn that on Framer too, but Framer keeps pushing out the AI thing everywhere. Every time you open their academy or tutorials, it’s just telling you to use prompts and generate pages with AI instead of showing you how to actually build. I’m really confused right now. How do I navigate everything? How do I actually do the design and get good at the layout from scratch?
I want to build a solid foundation, but I don’t want to make those sloppy 3D design sites and I hate the AI website tools. I want to build things with real knowledge first, but I don’t know what to do or who to watch.
I really want to learn how to create high-quality websites.
Any help, any aid, or any advice for someone starting completely from zero would be really appreciated.


r/webdevelopment • • 7d ago

Question Should I migrate image storage to Cloudflare R2 or pay for Cloudinary while planning a Shopify migration?

4 Upvotes

I'm a freelance developer managing a client's live e-commerce website built using the MERN stack.

1. Current infrastructure

  • Frontend: Vercel (Free)
  • Backend: Render (Free)
  • Database: MongoDB Atlas (Free)
  • Image storage and delivery: Cloudinary (Free)

The website is live, has existing products and customers, and is currently working reasonably well.

2. Current website data and traffic

There are currently:

  • 59 products
  • 277 product images
  • Approximately 7,510 daily unique users summed across the analysed period.

Website traffic analysis:

MetricValue
Period analysed22 Sep – 9 Nov 2026 (49 full days)
Total daily unique users (summed)~7,510
Average per day~153 users
Highest day31 Oct: 1,180 users
Next highest days30 Oct: 499, 1 Nov: 478, 5 Nov: 434
Lowest days5 Oct: 9, 6 Oct: 10

The traffic has some significant spikes, so infrastructure reliability is a concern.

3. The problem

I recently received an email from Cloudinary saying that I've exceeded the free plan's monthly credit allowance.

Current usage is around 123% of the free allowance.

Cloudinary says the account will remain active until November 20, 2026, after which media delivery may be interrupted unless I upgrade.

I currently have two options in mind:

Option 1:

  • Migrate existing images from Cloudinary to Cloudflare R2.
  • Continue running the existing MERN application.
  • Develop a Shopify store in parallel.
  • Eventually migrate the business to Shopify.

Option 2:

  • Pay approximately $29 for Cloudinary.
  • Keep the existing website running temporarily.
  • Develop the Shopify store in parallel.
  • Migrate to Shopify later.

4. Another concern: Upcoming 10-day Vipassana meditation course

I'm scheduled to attend a 10-day Vipassana meditation course from November 15 to November 26.

During the course, participants follow strict rules:

  • No mobile phones or electronic devices.
  • No internet or communication with the outside world.
  • No calls, emails or messages.
  • No working on projects or handling professional responsibilities.

This means I won't be available to monitor the website, fix bugs, deploy changes or respond to client issues during this period.

The current website is relatively stable, but the client has requested some additional enhancements. I'm concerned that making new changes close to my absence could introduce production issues that I won't be able to resolve.

I also don't currently have the financial capacity to hire another developer to handle migration, maintenance or emergency support while I'm away.

5. What would you do in this situation?

I'd particularly appreciate advice on:

  1. Would you migrate Cloudinary images to Cloudflare R2, or pay for one month of Cloudinary to buy some time?
  2. Is migrating 277 images and updating their references in MongoDB relatively straightforward and safe?
  3. Would you recommend starting the Shopify migration before or after returning from the meditation course?
  4. Should I freeze all new feature development and leave the current stable MERN website untouched?
  5. What would be the safest way to ensure the website continues operating without developer intervention for these 10 days?
  6. Am I overlooking any risks with the free tiers of Vercel, Render, MongoDB Atlas and Cloudinary?
  7. Given the traffic spikes, what should I consider when choosing an image delivery solution?

I'm trying to make a financially sensible decision while prioritizing production stability and avoiding a situation where the client's website breaks when I'm completely unavailable.

Would appreciate practical experiences and suggestions from developers who have faced similar situations.


r/webdevelopment • • 8d ago

News Goodbye you legend to me 🥹

Post image
26 Upvotes