-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[Bug]: redundant loader invocation when using prefetch="intent" #1249
Comments
Somehow it has to do with the |
@kennethvdberghe , you're right 👍 |
Thanks for the reproduction @acd02! I just pushed a fix for this in #2938 ( |
@acd02 This should be fixed in the next release. There should also be a nightly release going out tonight that you could test this out on ahead of the next release if you wanted to |
🤖 Hello there, We just published version Thanks! |
Seems to fix this issue indeed, looks like the reproduction is not calling previous loaders anymore. 🎉 |
🤖 Hello there, We just published version Thanks! |
What version of Remix are you using?
1.1.1
What version of Node are you using? Minimum supported version is 14.
Steps to Reproduce
/users
)/users/$userId
)Expected Behavior
When switching to a different user (url:
/users/$userId
), I expect the loader (app/routes/users/$userId.tsx
) to be called only once, not twiceActual Behavior
When switching to a different user (url:
/users/$userId
), the loader (app/routes/users/$userId.tsx
) is called twice:📽 video
The text was updated successfully, but these errors were encountered: