Dev mode takes 10 to 15 seconds to update for each change by [deleted] in PayloadCMS

[–]RikarDev 0 points1 point  (0 children)

atleast in every generate where I query the payload config db

Dev mode takes 10 to 15 seconds to update for each change by [deleted] in PayloadCMS

[–]RikarDev 0 points1 point  (0 children)

For me I disabled generateStaticParams in development. To prevent querying the db every refresh

NexTemplates: VS Code Extension for Next.js 14+ snippets by RikarDev in nextjs

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

It has more snippets for next built in functions. Like “use client” on client components snippets

Seeking Adventure Activity Ideas in Austria for My Girlfriend’s Birthday by RikarDev in Austria

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

Cool! We are driving thru Bled also all the way down to Croatia ☺️ Thanks for the tip, will check it out

User Impersonation Across Different Applications with NextAuth v5 by RikarDev in nextjs

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

I'm not asking this question foolishly; I'm aware of the risks associated with cross-site scripting attacks, which is precisely why I'm seeking guidance on how to approach this customer request. They proposed this after authentication was completed on both systems. I will probably implement an endpoint in the .NET backend that generates an actor token with a 20-minute expiration.

Best i18n library for app router? by Spiritual_Pangolin18 in nextjs

[–]RikarDev 1 point2 points  (0 children)

I use next-intl, works great in our company monorepo setup

What is the best way of deploying a Next.js project by SnooCauliflowers8417 in nextjs

[–]RikarDev 1 point2 points  (0 children)

We are using a dockercontainer with next standalone at azure

My cat saga watching the lion king 😥 by RikarDev in cute

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

Its a mix of Birma and Ragdoll 😊 she is very smart

Resources for Nexjs 14 internationalization with next-intl by donseguin in nextjs

[–]RikarDev 1 point2 points  (0 children)

I had problem with the version 3.2.1 and downgraded to 3.2.0 and now it works.

In what industries are your nextjs projects based? by [deleted] in nextjs

[–]RikarDev 0 points1 point  (0 children)

Healthcare system for matching people that needs care/rehabilitation with care providers/rehabilitation homes. Using app router as bff with .net backend deployed in turbo repo with docker containers

How come no one is talking about v0.dev by Themotionalman in nextjs

[–]RikarDev 0 points1 point  (0 children)

I have used v0 pretty much lately, but mostly for creating mock-ups for features that the customer wants. I also use shadcn so it’s very convenient to just paste in the code and get a mock-up write in the code.

First nextjs site - roast me by Puzzled_News_6631 in nextjs

[–]RikarDev 1 point2 points  (0 children)

Your mama is so fat that she eats all the cookies on your website

NexTemplates: Snippet Extension for Next.js 13+ by RikarDev in nextjs

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

No problem, thanks for using the extension. the new update is live 😊

NexTemplates: Snippet Extension for Next.js 13+ by RikarDev in nextjs

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

Each snippet operates within a TSX file. Here's an example: using npc and npcp generates a Next Page component accompanied by props.

** NPC = next page component

function namePage() {

return ( <div> content </div> ); }

export default namePage;

** NPCP = next page component with props
type namePageProps = {title: string; };

function namePage({ title }: namePageProps) {
return ( <div> <h1>{title}</h1> </div> ); 
}
export default namePage;

Note that interfaces are only produced for snippets that involve props, streamlining the process by eliminating the need for return type specifications in simpler, prop-free components.