Re:New React docs pretend SPAs don't exist anymore
by dmix on Friday March 17, 2023 @08:01PM
(#35204535)
That looks perfect for what I was looking for on a side project. I hope they don’t end up bloating up over the years via endless user demands and turn into another Next.js. More like a Sinatra vs Rails.
Re:New React docs pretend SPAs don't exist anymore
by floydnoel on Sunday March 19, 2023 @09:21AM
(#35218658)
Thanks for sharing this! Comments like yours are why I love HN comments. Despite all the arguments and negativity, I managed to find a useful comment which is directly applicable to my current needs!
I have been trying out Vite on my latest small project and was wondering if I should enable pre-rendering or perhaps alter the build process. I have markdown files which form some pages, currently they are imported and this causes the *.md files to be fetched when navigating to that page. It's mostly fine but it wouldn't be the best for blog SEO. So thanks again for giving me another option to look at, it may be just the right thing!
It is basically Next.js as a do-one-thing-well Vite plugin (its slogan).
https://vite-plugin-ssr.com/