#MDX

1 item tagged “MDX

TILNext.js3 min read

A JSX expression-container attribute silently loses its value in next-mdx-remote

TIL that generating attr={"..."} into MDX source instead of attr="..." made a prop come back as an empty object on every render, with no error anywhere in the pipeline — found while writing the Obsidian-callout preprocessor for this site.

#Next.js