Replies: 4 comments 4 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Will the templates still generate these files by default (or at least ask to generate them) or would they no longer be generated? Even the simplest production-ready remix app I want to build requires modifying every default file Remix comes with, so I'm not totally convinced that most people don't need these files. On top of that, now the dev server will have to check for these every time it runs. This seems analogous to create-react-app saying you don't need an |
Beta Was this translation helpful? Give feedback.
-
I strongly disagree with this proposal for these reasons:
My Proposal:
|
Beta Was this translation helpful? Give feedback.
-
How do we create those files now? Whatever you do please update documentation too |
Beta Was this translation helpful? Give feedback.
-
make
entry.server
andentry.client
files optional would allow for quicker demos and getting started from nothing easier without having to use the remix cli to bootstrap an entire app. just install the dependencies and make aapp/routes/index.tsx
file and you're done. plus most folks don't touch these files anyways so making them optional and not need to be on disk* is an added bonus (they'll still be on disk, but you know what i mean)by default it would look for the files and fallback to ones we have stored in
@remix-run/dev
, which would be copies from https://github.com/remix-run/remix/tree/main/templates/remixstarted a PR without making a proposal first #4600
Beta Was this translation helpful? Give feedback.
All reactions