Sorry, have not been on in a bit! Glad you found some sort of a solution. I have not experienced any flashing like this…part of me wonders if perhaps it isn’t 100% a router thing and maybe something that could have to do with subscriptions/publications and how they are being rendered in your app…is it mainly DB data that is flashing like that or is it also static content? If you would like to share an example snippet of code as an example, I am quite sure we could uncover the issue…
Hey all, just a quick question…I was trying out tinro and REALLY like it; however, the browser back button will not work for me when using it…
I am importing as recommended like so:
import { Route } from 'tinro/cmp/index.js'
Anyone else have this issue?
Hi, I was experimenting with meteor
+ zodern:melte
+ tinro
+ server-render
. I made good progress except for tinro
, but when using tinro
, I get the following error. Any ideas?
My sample code: GitHub - Sergeant61/svelte-app at ssr
Error running template: Error: <Route> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules
at validate_component (/Users/recepozen/my/svelte-app/node_modules/svelte/internal/index.js:1722:15)
at /Users/recepozen/my/svelte-app/.meteor/local/build/programs/server/app/app.js:2840:20
at Object.$$render (/Users/recepozen/my/svelte-app/node_modules/svelte/internal/index.js:1745:22)
at /Users/recepozen/my/svelte-app/.meteor/local/build/programs/server/app/app.js:2896:69
at Object.$$render (/Users/recepozen/my/svelte-app/node_modules/svelte/internal/index.js:1745:22)
at imports/app/user/pages/dashboard/Dashboard.svelte:8:5
at $$render (/Users/recepozen/my/svelte-app/node_modules/svelte/internal/index.js:1745:22)
at Object.render (/Users/recepozen/my/svelte-app/node_modules/svelte/internal/index.js:1753:26)
at server/main.js:12:31
at packages/server-render/server-register.js:14:19
at packages/server-render/server.js:28:36
at /Users/recepozen/.meteor/packages/promise/.0.12.0.zapnn5.2e9tb++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/fiber_pool.js:43:40
any new thoughts on svelte and routers? I am about to start a new demo project and thought I give svelte another go. I have used tinro before too
I am still using tinro, but it doesn’t support SSR. In a test project, svelte-routing worked for SSR. I tried about 5 different routers so I may get back to the remaining ones once I will be migrating from tinro (I need SSR for that project).