We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When calling a WebApp.addHtmlAttributeHook, previous hooks are not cleared upon HMR updates.
WebApp.addHtmlAttributeHook
It's worth noting that this doesn't seem to any negative impact on my app.
Test done locally:
// ... const randomNumber = Math.random() WebApp.addHtmlAttributeHook(req => { console.log(randomNumber) return null })
Here is what the console returns after 2 updates on each request:
0.6168036561182655 0.06950770055811595 0.5245338011658636
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When calling a
WebApp.addHtmlAttributeHook
, previous hooks are not cleared upon HMR updates.It's worth noting that this doesn't seem to any negative impact on my app.
Test done locally:
Here is what the console returns after 2 updates on each request:
The text was updated successfully, but these errors were encountered: