Played it, it's good.
For next few decades the diplomatic world is gonna treat the US as someone with a split personality disorder... "It was that other supid me!"
Нема логика ова. Ова се договориле да бојкотираат големопродажници што качуваат цени, не они да качат цени. "Договарањето" ми личи со цел да намалат цени :)
Има негде инфо што точно има во забранетиот договор?
Weirdly, it doesn't ... at least in my local dev env - haven't deployed this anywhere yet.
Btw, thanks for all the replies - really helpful :)
I can also slap a 'document.title = "blabla"' inside a useEffect hook in each component, and at this point I decided that Vercel sacrificed too much at the alter of server-side rendering which gives you no real benefits and I had to vent a bit....
Then, the apollo experimental library itself says: "❗️ We do handle "RSC" and "SSR" use cases as completely separate." - the way I understand that box is that my server components and my 'use client' components should not use the same queries, which for me translates to "rewrite the entire frontend"
Firstly, there's no way to set meta and page title from the client. This used to work with the <Head> component, and there are some people around the internet which incorrectly suggest to add a <title> component anywhere in the page (it doesn't work). Also - why change something that worked ?!
Needless to say, I'm not a fan of rewriting the whole thing as I have more important things to do. Also, since there are no real benefits from server-side components to the user after they hit the first page, I decided to opt-out of server components. But NextJS makes this difficult ...
With the NextJS server components you now can't use client side anymore. Before, stuff like useEffect was ignored on the sever, but now none of the hooks work, so I have 2 choices: 1) add the 'use client' pragma to all my components or 2) rewrite the entire frontend.
Thank you :) You can correct me if I'm wrong in my thinking. As I said, I have an old NextJS app that I'm trying to move to the App router. The app has a lot of components that fetch data using Apollo at various depths. This works fine with SSR, as I can seed Apollo's cache.
I'm using experimental-nextjs-app-support ... but It doesn't solve the problem. Stuff fetched on the server does not exist in the client-side cache. Sure, I can make only server components fetch the data, but that's rewriting most of the app.
That requires that none of my top level components are 'use client' which means i need to restructure my whole app, and all i wanted to do is set the page title, which in nextjs is impossible to do client-side. I mean - everything is doable, it's just so much more complicated ...
My frontend calls the gql api directly with cors, unfortunately...
Moving an e-commerce app from NextJS pages to app router. I'm can't believe how much Vercel complicated everything in the name of server components. Any gains you get from that are lost ten times over by having to do crap like double-fetching gql. Seriously looking into ditching NextJS all together.
In 2014. Too early :)
Da!