New React docs pretend SPAs don't exist anymore
wasp-lang.dev
New React docs pretend SPAs don't exist anymore
1–10 of 225 posts
Re: New React docs pretend SPAs don't exist anymore
#2Re: New React docs pretend SPAs don't exist anymore
#3So they're trying to corrupt the meaning of "framework" to mean only "full stack framework"
Re: New React docs pretend SPAs don't exist anymore
#4Re: New React docs pretend SPAs don't exist anymore
#5Re: New React docs pretend SPAs don't exist anymore
#6Re: New React docs pretend SPAs don't exist anymore
#7Re: New React docs pretend SPAs don't exist anymore
#8Sure SEO is important for most people anyway, but having multiple pages that load instantly rather than having to wait for a server call is also pretty handy. Plus auth working better.
I don’t see why next wouldn’t be the default and react now the outlier.
Re: New React docs pretend SPAs don't exist anymore
#9I find the idea that you want to handle data fetching and routing in a framework to be reasonably convincing. There are advantages here, and it's easy to get into a bit of a mess if you just fetch data in each component.
The part that has stopped me from looking at the frameworks until now is that they add a lot of parts I don't need, and the documentation seems to be focused on the SSR part. And then there are React server side components, which is another new concept I need to understand. Maybe the frameworks are a good fit for my SPA use cases, but it'll take quite a bit of time to find out if that is true.
Re: New React docs pretend SPAs don't exist anymore
#10This reads to me like "Next.js can do SPAs (like CRA) plus static sites and SSR". Next.js' site even says "The core of Next.js has been designed to enable starting as a static site (or Single-Page Application)" [1].
0 - https://react.dev/learn/start-a-new-react-project
1 - https://nextjs.org/docs/advanced-features/static-html-export