Skip to content
Discussion options

You must be logged in to vote

Here is my configuration, which works without errors (it’s a demo project, so there’s no advanced use of RSD / StyleX), but it might be useful for some people!

NOTE: If you're experiencing a hydration issue, it might be caused by your Chrome extensions (see my previous comment)._

vite.config.ts:

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
import tsConfigPaths from 'vite-tsconfig-paths'
import babel from "vite-plugin-babel";

export default defineConfig(() => ({
  server: {
    port: 3000
  },
  ssr: {
    noExternal: ["react-strict-dom"],
  },
  plugins: [
    tsConfigPaths(),
    tanstackStart

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@Dovakeidy
Comment options

@MoOx
Comment options

@MoOx
Comment options

@Dovakeidy
Comment options

@Dovakeidy
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Dovakeidy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants