Skip to content

Conversation

dustinsoftware
Copy link
Member

Happy 4th! This addresses a year-old bug report in #543

If you wanted to use output caching, it wasn't really feasible to use Html.ReactWithInit without introducing a render performance penalty, because your script tags had to all be added to the top of the page. This PR waits for the DOMContentLoaded event so that won't be an issue anymore. Calls to Html.React are unaffected.

@dustinsoftware dustinsoftware merged commit 6d96b4f into master Jul 5, 2019
This was referenced Jul 5, 2019
@dustinsoftware dustinsoftware deleted the delayed-init branch October 4, 2019 03:19
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.

1 participant