Also, as a JS developer, even if you want to auto-update the end year to the current one, why would you do that on the client? To make the layout shift? Or to display (c) 2024-2038 on clients with wrong date settings?
If it's statically generated, add the year at build time.
If it's server-generated and dynamic, don't do it in JS I guess? I mean, why? It has only downsides.
If it's statically generated, add the year at build time. If it's server-generated and dynamic, don't do it in JS I guess? I mean, why? It has only downsides.