Repository navigation
Replies: 1 comment
|
Short answer: for a rental site, SEO matters mostly on the public pages (home, search results, individual listings), and the template's frontend is a client-side SPA (React + Vite + TanStack Router). So the question is really "how do I serve real HTML for those public pages", and Bun is just one possible runtime for that, not the solution itself. Is plain React (SPA) good enough for SEO? What the "Bun container" actually means Three realistic options, from simplest:
Whichever you choose, the things that actually move SEO:
So: don't add Bun just because the AI suggested it. Start with option 1; if you later outgrow Jinja for the public side, moving to SSR is a well-trodden path. |
Uh oh!
There was an error while loading. Please reload this page.
First Check
Example Code
NoneDescription
I know fastAPI fairly well but I am not nearly as good with any frontend languages (have completed several projects without AI).
I am now working on a rental web service project. I was reading about SEO and I was including lots of instructions to stick to the template (using AI for this project). The AI wanted to use jinja 2 instead but later suggested using a bun container.
Reading up on it i think i get the idea that its a middle layer that serves clean html to fastapi backend. The big problem is that i have no idea if this is a good idea or not. Maybe react, when it comes to SEO is good enough?
I do get that adding a bun layer adds extra complexity and computing overhead, but i have no idea how much. So I am simply wondering if anyone has any input on this?
Operating System
Windows
Operating System Details
WSL
Project Version
0.12.0 (2026-08-12). From release_notes.md
Python Version
3.14
Additional Context
No response
All reactions