Using bind:
in Svelte 5 in conjunction with React causes error in MDX files.
#11615
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
pkg: mdx
Issues pertaining to `@astrojs/mdx` integration
pkg: react
Related to React (scope)
pkg: svelte
Related to Svelte (scope)
Astro Info
If this issue only occurs in one browser, which browser is a problem?
Not relevant
Describe the Bug
When running
astro build
the build unexpectedly fails and spits out the following error:It appears that the function
copy_payload
is supposed to receive ahead
object but receives undefined. Without the react integration the build succeeds though so something is clashing between those is my guess.What's the expected result?
The build should not fail when using
bind:value
in a svelte component when using it inside a MDX file.Link to Minimal Reproducible Example
https://github.com/Hugos68/repro-astro-svelte
Participation
The text was updated successfully, but these errors were encountered: