Michael Carter

Results 234 comments of Michael Carter

@jamesarosen That's basically what this PR does. The issue is that the current Remix App Server doesn't expose the Express server, nor provide a way to override it. This PR...

Ah, I think I see. So you're saying that in _addition_ to my PR, make the default `createApp` an export so it can be used and extended in the *server.ts*...

4. `server` is for hosts that don't allow you to run `npm i` for node_modules. This way you bundle everything and copy a single file to your host. Probably pretty...

@runmoore The third parameter to the `route` function is a callback where you can define your child routes. Looks like if you're using the `{ id }` options, then the...

With nested routes, the path should be relative to its parent route. Also specify `index: true` if this is an index route. ```ts routes(defineRoutes) { return defineRoutes((route) => { route(...

Your code example is busted. Can you update your issue?

You can't use node APIs with Cloudflare. They don't even have a file system.

I believe the reason is that Remix is trying to emulate what the browser would do normally. Without Remix, when you POST to a route, the server would have to...

Part of the issue is that Remix is constantly purging the require cache on every request (in "development"). This results in a lot of garbage and if you make enough...

@vinceprofeta you’ll want to delete that first reload() call. It should only reload in the finally block.