Christian
SolidStart Meta not updating
Was already looking into just forking it but will have to be a future thing as I don't want to waste more time on it at the moment as I have some deadlines to meet unfortunately.
I appreciate all the help you've given & advice.
16 replies
SolidStart Meta not updating
I see- unfortunate as I wanted the benefits of solid start to have SSR for SEO but I’ll just omit it for now and upgrade in the future when there are updates.
Do you know if there’s an estimated date yet? Hoping soon otherwise I wonder if it’d be worth for me to just migrate off till it’s more stable 🥲
16 replies
SolidStart Meta not updating
It seems to start working on client side routing after a HMR reload, but it never works on initial SSR nor when navigating after SSRed. Only after I save a file when the page is already open. Title doesn't even operate correctly when swapping page with non fetched data. I just used a static title and it was still having the same issues except it at least ssred
Here are my dependencies
Looking at SolidStarts internals they don't even invoke MetaProvider on the server despite this being recommended in the docs, is there a reason for this, or is it supposed to be either or?
16 replies
SolidStart Meta not updating
Issue persists even with Suspense added. I had a suspense above my router originally but moved it into my Layout for the sake of getting it 1:1 and still happens.
I also tried swapping to FileRoutes yesterday but issue was still persisting. I've spent like 8 hours on this now.
16 replies
SolidStart Meta not updating
None are hard coded into the entry-server, below is nearly exactly my setup. Yet when I go to /test (in this example) it'll show the default title from Layout, and sometimes, maybe 10-20% of the time it'll display the data().name but ONLY when loading the page with initial SSR and never on client side page load.
app.tsx
testpage.tsx
16 replies
SolidStart Meta not updating
This issue occurs also for my titles which I don't think would be caused by that, though, that would've been an issue regardless just I didn't get to it yet. Infact nothing gets overwritten, they all persists. The titles, links, descriptions, etc.
16 replies
Redirect in createResource
This is just for a catch-all route to redirect to /404 if they go to a unspecified or protected route. Guess it doesn't really matter too much if it's client vs ssr in fairness, but I just preferred it on the server.
22 replies