Allow us to delete entry.server and entry.client if we don't want to change them #2723
Closed
gustavoguichard
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey y'all! I was building some Remix examples for a library I'm working on and I realized the
./app/entry.client.tsx
and./app/entry.server.tsx
are files that we usually never change. They don't bring much value to a quick/entry-level project.What if we could remove those files (maybe even
./remix.config.js
) and then Remix uses their default template internally?Pretty much like tailwind does, if you want to customize the default template you can generate it and start tweaking, otherwise it hides these details. This might help beginners not feel overwhelmed by the amount of files ;)
Maybe making them opt-in can be bad as people might not know them at all, but if they were opt-out I think it would be 👌🏼
If you guys like the idea I can give it a try on a PR.
LMK
Beta Was this translation helpful? Give feedback.
All reactions