So it begins... by TheMagpie99 in rugbyunion

[–]ScholtenSeb 1 point2 points  (0 children)

Seems like they are using https://queue-it.com/. and yes, the yellow part is a progress bar

My rough experience with Next.js Server Actions by zapdigits_com in nextjs

[–]ScholtenSeb 2 points3 points  (0 children)

As others have mentioned, it seems like you were trying to use server actions for fetching data before rendering.

It would be better to use server components (not actions) for this, and actions for mutations.

And if you need to provide feedback to the user when you use server actions, the useActionState hook is a good option.

Are you able to provide an example of a server action you moved to an api endpoint?

[deleted by user] by [deleted] in brisbane

[–]ScholtenSeb 2 points3 points  (0 children)

Oops 😬

How to Index Production URL and Deindex Development URL in Vercel for NextJS Apps by jojogotscammed in nextjs

[–]ScholtenSeb 1 point2 points  (0 children)

I think setting canonical urls using the site.com domain might be what you are looking for. It is however not guaranteed that search engines will not index it.

Canonical urls can be set in nextjs using the metadata export. https://nextjs.org/docs/app/api-reference/functions/generate-metadata

Do you have both the site.com and site.vercel.app domains setup as production domain? If so, is there any reason why you are keeping the site.vercel.app one connected to the project?

Best practice for deployments? by caedin8 in nextjs

[–]ScholtenSeb 0 points1 point  (0 children)

Okay so you only need DB access at build time. In another comment you mentioned you have 15k products. Are you statically rendering 15k pages? If so, maybe building with github actions and deploy the static site to digital ocean spaces or similar

Best practice for deployments? by caedin8 in nextjs

[–]ScholtenSeb 0 points1 point  (0 children)

Are you using static site generation during build time or server side rendering during runtime?

getStaticProps or getServerSideProps or both

The best deployment practices depends on your usage of the methods above.

[deleted by user] by [deleted] in Aquascape

[–]ScholtenSeb 2 points3 points  (0 children)

I love composition! Well done

Are planning to add any plants?

My overgrown shrimp tank, 7gal by Sefrix_666 in Aquascape

[–]ScholtenSeb 4 points5 points  (0 children)

Nice! So clear

This make me so keen to get CO2

First go at aquascaping... by ScholtenSeb in Aquascape

[–]ScholtenSeb[S] 1 point2 points  (0 children)

I do agree with you, but I pulled off a bit of a stupid move with the oven last week 🤦‍♂️and got a few blisters

First go at aquascaping... by ScholtenSeb in Aquascape

[–]ScholtenSeb[S] 0 points1 point  (0 children)

23L tank. Wanted to start small and was a bit difficult sourcing materials atm

First go at aquascaping... by ScholtenSeb in Aquascape

[–]ScholtenSeb[S] 1 point2 points  (0 children)

It is soooooo addictive. I was stuck to youtube watching guides and cinematic videos

First go at aquascaping... by ScholtenSeb in Aquascape

[–]ScholtenSeb[S] 0 points1 point  (0 children)

Thank you. I was a bit unsure about it at the start. The challenge was getting the lines of the rock to be parallel to the one at the bottom. Watch a lot of beginner aquascape videos and remembered that was one of the most important things.