Closed devinrhode2 closed 1 year ago
I was originally going to add like 12 screenshots which kinda step through different scenarios I hit while debugging this, but, I've figured out my issue already.
Side note: I'm not sure how to edit this code: Screenshot generateHydrationScript server.js
It seems to be generated by this code somehow: Screenshot hydrationScripts.js
After this hydration script runs, there's another <script> which calls _HY$.set( and passes two arguments.
<script>
_HY$.set(
When those scripts run TWICE, which they shouldn't be, there will be an error among the lines of "is not a function".
I was originally going to add like 12 screenshots which kinda step through different scenarios I hit while debugging this, but, I've figured out my issue already.
Side note: I'm not sure how to edit this code: Screenshot generateHydrationScript server.js
It seems to be generated by this code somehow: Screenshot hydrationScripts.js
After this hydration script runs, there's another
<script>
which calls_HY$.set(
and passes two arguments.When those scripts run TWICE, which they shouldn't be, there will be an error among the lines of "is not a function".