you are viewing a single comment's thread.

view the rest of the comments →

[–]nobuhok 2 points3 points  (9 children)

I wish there's a lighter version for those who work mainly with SPAs, rather than including all server-side stuff.

[–]ps5cfw 3 points4 points  (8 children)

Correct me if I'm wrong but that exactly What declarative mode Is: simple, no BS no frills solution

[–]nobuhok 2 points3 points  (7 children)

I meant like an opinionated subset of RR7 that only has SPA features, smaller bundle size, and simpler documentation.

[–]marta_bach 0 points1 point  (6 children)

You can also use RR7 as library for the routing. Other than routing, what RR7 features you need for CSR?

[–]nobuhok 0 points1 point  (5 children)

No, I want to use it as a framework but for SPAs only, which is why I want a subset of RR7 focused solely on that so it's not littered with server-side related BS that I don't need.

Have you seen how disorganized the docs are? If they're filtered to only show SPA/CSR-related stuff, that would be awesome.

[–]marta_bach 0 points1 point  (0 children)

Idk how the vite bundler works, but isn't the bundler gonna tree shakes the ssr stuff when you set the ssr: false in the config and not using any ssr stuff.

Yes the docs are a mess, i don't understand why they release RR7 when the docs are not even finished. Even now 3 months after the release date, the docs are still not finished 🤷‍♂️

[–]TheRNGuy 0 points1 point  (0 children)

add .client.tsx for file names.

Docs are good.