Closed
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Problem
React server components can be asynchronous. It would be nice if MDX content supports this too.
# Hello visitor
This page has been visited {await Promise.resolve(42)} times
Solution
If an await
expression is detected, mark _createMdxContent
as async.
Alternatives
We could not support it 🤷