-
Notifications
You must be signed in to change notification settings - Fork 65
SPA framework templates #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I came here to file a similar comment. After using Next.js a bunch, I figured I'd check Remix out. I'm dealing with a situation where I can't deploy a server, so I figured I'd give SPA mode a try. I found https://remix.run/docs/en/main/guides/spa-mode which told me to run Anyways, then I went over to https://reactrouter.com/how-to/spa but couldn't find any mention of I guess I'll try creating a new project using the |
Follow-up from 15 minutes in the future:
I should've just done that instead of posting a comment. Although, it just goes to show how simple it would be to create a |
I think it would be super useful to have an official template starter that bootstraps a simple SPA (in js or ts) in “framework mode” that is easily upgradeable to SSR if desired. Basically a template that bootstraps what is described in this guide: https://reactrouter.com/how-to/spa#single-page-app-spa. This way a new user doesn't have to deal with servers and all that stuff right away, but is already guided on the right path if the use case warrants it (..and I have to say there are more cases than the twitter bubble would have you believe where a SPA is preferred). Isn't that exactly one of the fantastic things about react-router's new version?
Originally posted by @marcomuser in #7 (comment)
The text was updated successfully, but these errors were encountered: