I fully agree, but rendering relative dates client side isn't exactly heavy client side rendering. You could even defer the script until the site has finished loading, and you wouldn't need a framework or library
Brian Rinaldi is a Developer Experience Engineer at LaunchDarkly with over 20 years experience as a developer for the web. Brian is active in the community running CFE.dev and Orlando Devs.
The date information should be rendered client side to not have to build your site every day.
Static sites will usually outperform sites with heavy client side rendering, especially on mobile devices as they seem to hate JavaScript :D
I fully agree, but rendering relative dates client side isn't exactly heavy client side rendering. You could even defer the script until the site has finished loading, and you wouldn't need a framework or library
I could do that but the randomization of the featured items requires it as well anyway.