Clarify: Client vs. SSR in Framework Mode #13313
mattymattdev
started this conversation in
Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi React-Router Community,
Was looking through the docs to figure out if there were any tools available for creating a set of client-only routes in my otherwise SSR "Framework Mode" app. My goal is to get a smooth serverless interaction between features that have their own URL routes with react-router simplifying the interaction with my URL route. However, I did not find a clear way to do this in the documentation.
I came upon this phrase in the documentation on Framework Mode routing "You can also use components that match the URL to elements anywhere in the component tree." This immediately failed -- 404 because the routes.ts file doesn't have a notion of what is path="step-2" in the docs.
I have seen other discussions of people trying to figure out how to things similar to this in discussions: #12194
My proposal is:
Thank you for your time and patience. My purpose is to serve the needs of applications that have a use case such as "marketing pages as SSR and post-sign in dashboards as client-routed application." The fact that this framework is now remix and react-router is valuable but the docs seem focused on describing the world as "framework" vs "library," which is a great description of how the framework authors want end users to set up their projects but not a great description of how this merging of great frameworks could allow end users to accomplish their desired end state use case (ssr marketing pages, client routed dashboard) easily.
Beta Was this translation helpful? Give feedback.
All reactions