Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MDX on React Native: 0,s.jsx is not a function (it is an Object) #292

Open
Bartek532 opened this issue Sep 5, 2024 · 2 comments
Open

MDX on React Native: 0,s.jsx is not a function (it is an Object) #292

Bartek532 opened this issue Sep 5, 2024 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@Bartek532
Copy link

I'm compiling my MDX to code without any problem, but when I'm trying to display it in React Native (Expo) I get following error, what should I do?

Code:

export default function Blog() {
  const page = getPage("test", "hello-world");

  return <MDXContent components={components} code={page?.body} />;
}

Error:
image

@sdorra sdorra added the help wanted Extra attention is needed label Sep 6, 2024
@sdorra
Copy link
Owner

sdorra commented Sep 6, 2024

I'm sorry, but I don't have much experience with React Native, and I don't even know that MDX on React Native is a thing. I'm not sure if this can work. It would be nice if someone out there could help with this ticket.

@sdorra sdorra changed the title 0,s.jsx is not a function (it is an Object) MDX on React Native: 0,s.jsx is not a function (it is an Object) Sep 6, 2024
@Bartek532
Copy link
Author

Sure! I'm looking for some implementation of MDX in React Native and didn't find anything that works 😕

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants