Skip to content

add note about promise in getComponent #6586

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

Merged
merged 3 commits into from
Feb 19, 2019
Merged

Conversation

happylolonly
Copy link

No description provided.

@happylolonly
Copy link
Author

Hello, need add info when using promises in react-router-v3.

I used async function as function for getComponent + callback, but react-router call this twice. Why you did this?

Debug this 1,5 hours yesterday.

image

@timdorr
Copy link
Member

timdorr commented Feb 19, 2019

This was added in #3719.

Thanks for the starting place. I took it across the finish line for you.

@timdorr timdorr merged commit 04b9069 into remix-run:v3 Feb 19, 2019
@happylolonly
Copy link
Author

Thanks!)

@lock lock bot locked as resolved and limited conversation to collaborators Apr 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants