0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/packages/solid-start-client/src
Manuel Schiller 84537b714a fix: circular imports
before this happened:

```
vite:hmr circular imports detected: /src/routes/posts.route.tsx -> /src/utils/posts.tsx -> /node_modules/@tanstack/react-start/dist/esm/client.js?v=0794880d -> /node_modules/@tanstack/react-start-client/dist/esm/index.js?v=0794880d -> /node_modules/@tanstack/start-client-core/dist/esm/client/index.js?v=0794880d -> /node_modules/@tanstack/start-client-core/dist/esm/client/hydrateStart.js?v=0794880d -> /src/router.tsx -> /src/routeTree.gen.ts -> /src/routes/posts.route.tsx
```

the transform of `createServerFn` imported `createClientRpc` from `@tanstack/react-start/client` which also export `hydrateStart` in index.ts

moving `createClientRpc` into its own package export resolved this issue
History 2025-09-27 01:36:21 +02:00
..
tests refactor(start-client-core): move createServerFn to core (#3727) 2025-03-10 10:40:34 +01:00
index.tsx fix: circular imports 2025-09-27 01:36:21 +02:00
StartClient.tsx feat: Start RC (#5189) 2025-09-23 11:34:54 -06:00