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

For anyone doubting about using this repo for their project #17

Open
waynehamadi opened this issue Nov 21, 2024 · 0 comments
Open

For anyone doubting about using this repo for their project #17

waynehamadi opened this issue Nov 21, 2024 · 0 comments

Comments

@waynehamadi
Copy link

waynehamadi commented Nov 21, 2024

Like many of you, I want middlewares with remix. And we have a pretty good one in express : https://github.com/kiliman/remix-express-vite-plugin.

But I am very tired of express. Not because it's slow, but because it has a lot of quirks. And when you start using Hono it's pretty frustrating to go back to express.

This package is extremely easy to integrate.

The instructions are very straight forward. But if you're struggling, I created a repo with ONE COMMIT JUST AFTER the create remix command has been called. This way you know exactly what to change in your current remix repo in order to support Hono.

You will know everything works once you succesfully passed the context to the loader.

Screenshot 2024-11-21 at 9 28 45 AM

Implementation here: https://github.com/waynehamadi/remix-hono-implementation

The commit you need: waynehamadi/remix-hono-implementation@43a46ff

PS: Remix is about to implement middleware quickly after react router v7, which will make it even easier for you to add hono middlewares. But I suspect it will be very easy for you to switch from react-router-hono-server to the native way of doing middlewares in remix.

@rphlmr rphlmr pinned this issue Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant