Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 39 additions & 18 deletions docs/start/framework/react/guide/hosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,19 @@ Once you've chosen a deployment target, you can follow the deployment guidelines

### Cloudflare Workers ⭐ _Official Partner_

<a href="https://www.cloudflare.com?utm_source=tanstack" alt="Cloudflare Logo">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/cloudflare-white.svg" width="280">
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/cloudflare-black.svg" width="280">
<img alt="Cloudflare logo" src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/cloudflare-black.svg" width="280">
</picture>
<a href="https://www.cloudflare.com?utm_source=tanstack">
<img
src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/cloudflare-black.svg"
class="block dark:hidden"
width="280"
alt="Cloudflare logo"
/>
<img
src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/cloudflare-white.svg"
class="hidden dark:block"
width="280"
alt="Cloudflare logo"
/>
</a>

When deploying to Cloudflare Workers, you'll need to complete a few extra steps before your users can start using your app.
Expand Down Expand Up @@ -116,12 +123,19 @@ A full TanStack Start example for Cloudflare Workers is available [here](https:/

### Netlify ⭐ _Official Partner_

<a href="https://www.netlify.com?utm_source=tanstack" alt="Netlify Logo">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/netlify-dark.svg" width="280">
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/netlify-light.svg" width="280">
<img alt="Netlify logo" src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/netlify-light.svg" width="280">
</picture>
<a href="https://www.netlify.com?utm_source=tanstack">
<img
class="block dark:hidden"
src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/netlify-light.svg"
width="280"
alt="Netlify Logo"
/>
<img
class="hidden dark:block"
src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/netlify-dark.svg"
width="280"
alt="Netlify Logo"
/>
</a>

Install and add the [`@netlify/vite-plugin-tanstack-start`](https://www.npmjs.com/package/@netlify/vite-plugin-tanstack-start) plugin, which configures your build for Netlify deployment and provides full Netlify production platform emulation in local dev:
Expand Down Expand Up @@ -188,12 +202,19 @@ tool](https://docs.netlify.com/start/quickstarts/deploy-from-ai-code-generation-

### Railway ⭐ _Official Partner_

<a href="https://railway.com?utm_source=tanstack" alt="Railway Logo">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-white.svg" width="280">
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-black.svg" width="280">
<img alt="Railway logo" src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-light.svg" width="280">
</picture>
<a href="https://railway.com?utm_source=tanstack">
<img
class="block dark:hidden"
arc="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-light.svg"
width="280"
alt="Railway logo"
/>
<img
class="hidden dark:block"
src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-dark.svg"
width="280"
alt="Railway logo"
/>
Comment on lines +205 to +217
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Railway light-mode image is broken due to missing src.

At Line 207, the image URL is assigned to class instead of src, so the light logo will not render.

🔧 Suggested fix
 <a href="https://railway.com?utm_source=tanstack">
   <img
-    class="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-light.svg"
+    class="block dark:hidden"
+    src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-light.svg"
+    width="280"
     alt="Railway logo"
   />
   <img
     class="hidden dark:block"
     src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-dark.svg"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<a href="https://railway.com?utm_source=tanstack">
<img
class="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-light.svg"
alt="Railway logo"
/>
<img
class="hidden dark:block"
src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-dark.svg"
width="280"
alt="Railway logo"
/>
<a href="https://railway.com?utm_source=tanstack">
<img
class="block dark:hidden"
src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-light.svg"
width="280"
alt="Railway logo"
/>
<img
class="hidden dark:block"
src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-dark.svg"
width="280"
alt="Railway logo"
/>
</a>
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/start/framework/react/guide/hosting.md` around lines 205 - 215, The
light-mode Railway logo img tag has the image URL mistakenly placed in the class
attribute; update the first <img> element so the image URL is moved from the
class attribute into the src attribute (i.e., replace the
class="https://raw.githubusercontent.com/.../railway-light.svg" with a proper
src="..."), leaving any intended class names separate, and verify the second
<img> (hidden dark:block) already uses src correctly.

</a>

Railway provides instant deployments with zero configuration. Follow the [`Nitro`](#nitro) deployment instructions, then deploy to Railway:
Expand Down
57 changes: 39 additions & 18 deletions docs/start/framework/solid/guide/hosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,19 @@ Once you've chosen a deployment target, you can follow the deployment guidelines

### Cloudflare Workers ⭐ _Official Partner_

<a href="https://www.cloudflare.com?utm_source=tanstack" alt="Cloudflare Logo">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/cloudflare-white.svg" width="280">
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/cloudflare-black.svg" width="280">
<img alt="Cloudflare logo" src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/cloudflare-black.svg" width="280">
</picture>
<a href="https://www.cloudflare.com?utm_source=tanstack">
<img
src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/cloudflare-black.svg"
class="block dark:hidden"
width="280"
alt="Cloudflare logo"
/>
<img
src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/cloudflare-white.svg"
class="hidden dark:block"
width="280"
alt="Cloudflare logo"
/>
</a>

### Cloudflare Workers
Expand Down Expand Up @@ -110,12 +117,19 @@ Deploy your application to Cloudflare Workers using their one-click deployment p

### Netlify ⭐ _Official Partner_

<a href="https://www.netlify.com?utm_source=tanstack" alt="Netlify Logo">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/netlify-dark.svg" width="280">
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/netlify-light.svg" width="280">
<img alt="Netlify logo" src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/netlify-light.svg" width="280">
</picture>
<a href="https://www.netlify.com?utm_source=tanstack">
<img
class="block dark:hidden"
src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/netlify-light.svg"
width="280"
alt="Netlify Logo"
/>
<img
class="hidden dark:block"
src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/netlify-dark.svg"
width="280"
alt="Netlify Logo"
/>
</a>

Install and add the [`@netlify/vite-plugin-tanstack-start`](https://www.npmjs.com/package/@netlify/vite-plugin-tanstack-start) plugin, which configures your build for Netlify deployment and provides full Netlify production platform emulation in local dev:
Expand Down Expand Up @@ -182,12 +196,19 @@ tool](https://docs.netlify.com/start/quickstarts/deploy-from-ai-code-generation-

### Railway ⭐ _Official Partner_

<a href="https://railway.com?utm_source=tanstack" alt="Railway Logo">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-dark.svg" width="280">
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-light.svg" width="280">
<img alt="Railway logo" src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-light.svg" width="280">
</picture>
<a href="https://railway.com?utm_source=tanstack">
<img
class="block dark:hidden"
arc="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-light.svg"
width="280"
alt="Railway logo"
/>
<img
class="hidden dark:block"
src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-dark.svg"
width="280"
alt="Railway logo"
/>
Comment on lines +199 to +211
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Railway light-mode logo won’t render (URL placed in class).

At Line 202, the light logo URL is in class instead of src, so the first image is broken.

🔧 Suggested fix
 <a href="https://railway.com?utm_source=tanstack">
   <img
-    class="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-light.svg"
+    class="block dark:hidden"
+    src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-light.svg"
+    width="280"
     alt="Railway logo"
   />
   <img
     class="hidden dark:block"
     src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-dark.svg"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<a href="https://railway.com?utm_source=tanstack">
<img
class="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-light.svg"
alt="Railway logo"
/>
<img
class="hidden dark:block"
src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-dark.svg"
width="280"
alt="Railway logo"
/>
<a href="https://railway.com?utm_source=tanstack">
<img
class="block dark:hidden"
src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-light.svg"
width="280"
alt="Railway logo"
/>
<img
class="hidden dark:block"
src="https://raw.githubusercontent.com/tanstack/tanstack.com/main/src/images/railway-dark.svg"
width="280"
alt="Railway logo"
/>
</a>
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/start/framework/solid/guide/hosting.md` around lines 200 - 210, The
first <img> tag in the snippet has the light-mode logo URL mistakenly placed in
the class attribute instead of src; update that first <img> element (the one
with class="https://raw.githubusercontent.com/.../railway-light.svg") to put the
logo URL into the src attribute and use a proper class value (or remove class)
so the image renders; ensure the alt text remains and any width attribute is
added if needed to match the second <img>.

</a>

Railway provides instant deployments with zero configuration. Follow the [`Nitro`](#nitro) deployment instructions, then deploy to Railway:
Expand Down