Skip to content
Discussion options

You must be logged in to vote

Ideally, you figure out what's causing your database to take 4-5 seconds.

However, for #1, you can add nprogress to your root route and show a progress meter on every navigation. https://sergiodxa.com/articles/use-nprogress-in-a-remix-app

As for #2, that's a reasonable workaround.

I understand that the Remix team is working on adding a deferred response, so a loader can return quickly and the server will stream the response to the client as data comes in.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@VigneshVaidyanathan
Comment options

Answer selected by VigneshVaidyanathan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants