-
I have some unusual requirements and I'm not sure if Remix can fit them. I have built a app comprised of a single page that retrieves data from a database, and some admin pages that allow population of that database. Everything works great locally - it's my first time with Remix and the loader/actions are really elegant. This data is rarely updated. As a result, ideally I'd never actually publish the admin pages with backend and database to production. For one thing I'd need to secure the admin pages, for another it seems overkill. What I'd like (and what I can't figure out) is how I can SSG my /_index.tsx page, consider all it does is read and render some data. Is this possible? I have considered just CTRL+S to save the page but hoping there might be a better way. I see React Router 7 has a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Remix doesn't support pre rendering. You will have to migrate to React Router to do what you want React Router is the continuation of Remix, consider it like the next major version, if you're on Remix consider migrate to React Router. |
Beta Was this translation helpful? Give feedback.
Remix doesn't support pre rendering. You will have to migrate to React Router to do what you want
React Router is the continuation of Remix, consider it like the next major version, if you're on Remix consider migrate to React Router.