's Avatar

@disc0dancer.bsky.social

31 Followers  |  71 Following  |  18 Posts  |  Joined: 20.11.2024  |  1.4117

Latest posts by disc0dancer.bsky.social on Bluesky


Preview
The Great Harbor Draft & send dice workers to the harbor, expand your colony, construct ships, trade across the Mediterranean, and engage the pirates!

Played it, it's good.

26.03.2025 10:35 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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!"

28.02.2025 19:51 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

ะะตะผะฐ ะปะพะณะธะบะฐ ะพะฒะฐ. ะžะฒะฐ ัะต ะดะพะณะพะฒะพั€ะธะปะต ะดะฐ ะฑะพั˜ะบะพั‚ะธั€ะฐะฐั‚ ะณะพะปะตะผะพะฟั€ะพะดะฐะถะฝะธั†ะธ ัˆั‚ะพ ะบะฐั‡ัƒะฒะฐะฐั‚ ั†ะตะฝะธ, ะฝะต ะพะฝะธ ะดะฐ ะบะฐั‡ะฐั‚ ั†ะตะฝะธ. "ะ”ะพะณะพะฒะฐั€ะฐัšะตั‚ะพ" ะผะธ ะปะธั‡ะธ ัะพ ั†ะตะป ะดะฐ ะฝะฐะผะฐะปะฐั‚ ั†ะตะฝะธ :)

27.02.2025 19:36 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

ะ˜ะผะฐ ะฝะตะณะดะต ะธะฝั„ะพ ัˆั‚ะพ ั‚ะพั‡ะฝะพ ะธะผะฐ ะฒะพ ะทะฐะฑั€ะฐะฝะตั‚ะธะพั‚ ะดะพะณะพะฒะพั€?

27.02.2025 10:34 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 4    ๐Ÿ“Œ 0

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 :)

28.01.2025 21:47 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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....

26.01.2025 21:12 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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"

26.01.2025 21:12 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

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 ?!

26.01.2025 21:12 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

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 ...

26.01.2025 21:12 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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.

26.01.2025 21:12 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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.

26.01.2025 21:12 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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.

25.01.2025 16:58 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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 ...

24.01.2025 22:06 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

My frontend calls the gql api directly with cors, unfortunately...

24.01.2025 15:38 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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.

24.01.2025 15:28 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

In 2014. Too early :)

02.01.2025 15:15 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image 31.12.2024 22:16 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Da!

22.11.2024 23:50 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@disc0dancer is following 20 prominent accounts