Skip to content
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

feat: Add extra param to waitForReact (#273) #279

Merged
merged 2 commits into from Jan 20, 2022

Conversation

ajhenry
Copy link
Contributor

@ajhenry ajhenry commented Jan 19, 2022

This adds an extra param to the waitForReact function to directly input the path to the resq loader. This solves the issue with Webpack and allows arbitrary loading of different module resolution.

Related issue #273

This adds an extra optional param resqModulePath for bypassing the auto loader
@ajhenry
Copy link
Contributor Author

ajhenry commented Jan 19, 2022

@abhinaba-ghosh This was really the only way I was able to get webpack to play nicely with loading module paths at runtime. The readme for this change isn't updated as it's really just an escape hatch for using webpack. It is backwards compatible though and completely optional for the user.

@abhinaba-ghosh
Copy link
Owner

abhinaba-ghosh commented Jan 19, 2022

@ajhenry thanks for the PR. Amazing, that you have figured out the solution. 🏆
Would you mind updating the readme file with necessary details and the webpack handling information as well?

@ajhenry
Copy link
Contributor Author

ajhenry commented Jan 19, 2022

I added a small note in the readme 🚀

@abhinaba-ghosh abhinaba-ghosh merged commit 1c6a7f9 into abhinaba-ghosh:master Jan 20, 2022
@abhinaba-ghosh
Copy link
Owner

Hi @ajhenry , the update is available in the version v2.3.15 🚀

@ajhenry
Copy link
Contributor Author

ajhenry commented Jan 20, 2022

Thanks a ton!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants