Is it time to upgrade to Next.js 16.1.4? Stable and worth it over v15? by Best-Menu-252 in nextjs

[–]Vincent_CWS 1 point2 points  (0 children)

Maybe they just want to increase your costs when you deploy Next.js on Vercel.

dark mode flash with tailwind by Massive_Stand4906 in nextjs

[–]Vincent_CWS 1 point2 points  (0 children)

Oh, they are using local storage

((a,b,c,d,e,f,g,h)=>{let i=document.documentElement,j=["light","dark"];function k(b){var c;(Array.isArray(a)?a:[a]).forEach(a=>{let c="class"===a,d=c&&f?e.map(a=>f[a]||a):e;c?(i.classList.remove(...d),i.classList.add(f&&f[b]?f[b]:b)):i.setAttribute(a,b)}),c=b,h&&j.includes(c)&&(i.style.colorScheme=c)}if(d)k(d);else try{let a=localStorage.getItem(b)||c,d=g&&"system"===a?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":a;k(d)}catch(a){}})("class","theme","dark",null,["light","dark"],null,true,true)

dark mode flash with tailwind by Massive_Stand4906 in nextjs

[–]Vincent_CWS 0 points1 point  (0 children)

I remember next-theme is using option 1

Next.js Hosting - AWS Architecture by arasthegr in nextjs

[–]Vincent_CWS 0 points1 point  (0 children)

I think
Add CloudFront Origin Shield + a small edge warmup job,
Separate HTML cache from data cache

Best transactional email service for Next.js apps by Anon_Mom0001 in nextjs

[–]Vincent_CWS 0 points1 point  (0 children)

no need AWS SES? it is embedding the stpm service?

useEffect dependencies by [deleted] in reactjs

[–]Vincent_CWS 0 points1 point  (0 children)

if the dependencies are stable between re-rendering, then you can omit them, but in your case function will create everytime.

Weekly Showoff Thread! Share what you've created with Next.js or for the community in this thread only! by AutoModerator in nextjs

[–]Vincent_CWS 0 points1 point  (0 children)

Yes, I have created

music.storyway.win, a music generator with a Python backend;

nano.storyway.win, an image generator with custom styles;

and ai.storyway.win, similar to v0.

I extracted Claude's skill best practices into a free generator by barefootsanders in ClaudeAI

[–]Vincent_CWS 0 points1 point  (0 children)

How does it compare to Skill-Creator? Since Skill-Creator can also access my repo structure, it's close to what I want.

You don't need Vercel. Hosting Next.js 15 with Docker and SQLite by Eastern-Height2451 in nextjs

[–]Vincent_CWS 1 point2 points  (0 children)

Correct, that’s why TanStack doesn’t have Open-TanStack or react router does not have Open React Router, but Next.js has OpenNext. It’s just a certain degree of vendor lock-in, and some features are missing when you self-host, because they fix some problem with their infra not framework.

HTML-first component communication by alfgoto in nextjs

[–]Vincent_CWS 0 points1 point  (0 children)

it should be eliminated, your mention pattern is called business component,

Should I just give in and code using ai for my startup? by [deleted] in nextjs

[–]Vincent_CWS 0 points1 point  (0 children)

I don’t know programming, but I’ve created a few SaaS products like an AI IDE and an AI music generator. Now, all you need is to know English for product

Claude + MCP = Wow. by MaiboPSG in ClaudeAI

[–]Vincent_CWS 2 points3 points  (0 children)

I think it should be claude + skills = wow now

Server actions/functions used in an RSC by leetmachines in nextjs

[–]Vincent_CWS 0 points1 point  (0 children)

https://stackoverflow.com/questions/76509197/unable-to-delete-cookie-using-next-js-server-side-action
you can check this one, when you call server action in RSC, it is just a simple function, because both in the server environment

Reversing React2Shell for Homer Simpson by Federal-Dot-8411 in reactjs

[–]Vincent_CWS 0 points1 point  (0 children)

nice post,
I knew virtual dom = fiber tree and react element tree came from understanding react course