You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe there is a missing semicolon here? I noticed that the id == null has a semicolon included but the id != null case does not have a semicolon at the end.
export function getCrossReferenceHeader(id?: string): string {
if (id == null) {
return `self.${GLOBAL_CONTEXT_REFERENCES}=self.${GLOBAL_CONTEXT_REFERENCES}||[];`;
}
- return `(self.${GLOBAL_CONTEXT_REFERENCES}=self.${GLOBAL_CONTEXT_REFERENCES}||{})["${serializeString(id)}"]=[]`;+ return `(self.${GLOBAL_CONTEXT_REFERENCES}=self.${GLOBAL_CONTEXT_REFERENCES}||{})["${serializeString(id)}"]=[];`;
}
The text was updated successfully, but these errors were encountered:
patdx
changed the title
Small bug
Inside of getCrossReferenceHeader script, getting error Uncaught SyntaxError: Unexpected identifier '_$HY'
Oct 18, 2023
I am trying Solid-js 1.8.3 and renderToStringAsync, and I got a hydration script injected with an error like below:
After I added the semicolon here, the hydration script could be parsed by the browser:
Maybe there is a missing semicolon here? I noticed that the
id == null
has a semicolon included but theid != null
case does not have a semicolon at the end.The text was updated successfully, but these errors were encountered: