-
Notifications
You must be signed in to change notification settings - Fork 19
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
Remix Examples #46
Comments
Hi @moishinetzer, actually only the examples are in next but it's not really coupled to that... I am not familiar with remix but I am looking at the docs right now, it seems there isn't the concept of response object? (request instead is the first parameter of the API route function). |
Yes exactly, and also the Request has a different type signature for some reason? |
uuuh just saw this in remix docs |
I've been experimenting with this, and it seems to work fine with Remix. You need to expose resource route using a file called
This seems to behave as expected. |
Hi @matt-winfield, indeed - From version 3 it's completely up to the framework to send the response (and to get the body accordingly), so any backend would work really... Thanks for the example tho, I will add it to readme! |
You say that this can work with any node-based backend. However, it seems the whole implementation is based on next.js request handlers. Could you please provide an example for remix? Thanks!
The text was updated successfully, but these errors were encountered: