Skip to content
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

DX: Improving experience for remix apps created with the default Remix App Server template #7

Open
2 tasks done
cliffordfajardo opened this issue Dec 24, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@cliffordfajardo
Copy link
Collaborator

cliffordfajardo commented Dec 24, 2022

Description

As a remix user who would like to use remix-kit, I'd like the onboarding experience for using remix-kit with a Remix App Server template to be easier. This would help drive adoption of remix-kit and push the Remix community forward 💿 ⚛️

Suggested solution

Documentation for how to use remix-kit with the Remix App Server template.
I recently tried remix-vite and found the getting started experience very friendly.

All I had to do was this:

$ npx create-remix@latest

$ cd new_remix_app
$ npx remix-vite


remix-vite started at http://localhost:3000

// visit page in browser
[vite] hmr update /app/routes/index.tsx

After npx remix-vite command the remix app starts up and HMR support works

Is this sometimes that might be possible with remix-vite?
I understand remix-kit does a lot more that remix-vite so its not an apple to apple comparison. I think its an aspirational level of DX to strive for though

Alternative

Maybe we can grab inspiration from remix-vite experience for Remix App Server (RAS) template.
The alternative is to direct users to only use the express template from Remix; I think making RAS work more seemlessly would be good though
Remix App Server is also a common template lots of people use to hack and prototype on projects and then publish to Vercel so supporting Remix App Server could be impactful

If remix-kit is able to support the standard Remix App Server template and the express template (which it does already) I think it could inspire the core Remix team & community:

Imagined scenario lol 😄 :

Remix Team Core Member: 
Hey team, have you seen. remix-kit? It has great DX for Remix App Server and Express template out of the box.
This covers the majority of use cases people have. 
We should talk with them or grab inspiration from them to improve the DX in remix core

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
@cliffordfajardo cliffordfajardo changed the title DX: Improving experience for Remix App Server DX: Improving experience for remix apps created with the default Remix App Server template Dec 24, 2022
@jrestall jrestall added the enhancement New feature or request label Dec 25, 2022
@jrestall jrestall self-assigned this Dec 29, 2022
@jrestall
Copy link
Owner

Hi @cliffordfajardo !

The v0.2.1 release should improve the dev experience with the default Remix App Server template drastically.

It should now be as simple as,

$ npx create-remix@latest

$ cd new_remix_app
$ npx remix-kit@latest install

$ npm run vite:dev

No other changes necessary 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants