-
I've just started using MDX for a Solid JS blog, and after turning on I attempted to manually recreate this feature with a plugin, but unfortunately there is no stage in between In summary: I was wondering if there was any interest in a configuration option named something like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Heya! The behavior you observe for
I can help you better if you tell us what you want to achieve. Give actual input, expected output, and current actual output. I’d also appreciate more info about the current Solid + JSX situation? Solid previously had different bugs, does Solid currently work well?
It doesn’t seem very smart to me. As you say you are just starting out. I think, when using MDX for a bit longer, you will find out that components are quite a nice feature? Even if you would not perhaps notice this in Solid, MDX supports all JSX runtimes, and components are definitely very useful in React/Preact and the like! Instead, I’d search for solutions along the lines of #2473, https://github.com/withastro/astro/blob/main/packages/integrations/mdx/src/rehype-optimize-static.ts, and https://marvinh.dev/blog/speeding-up-javascript-ecosystem-part-9/ |
Beta Was this translation helpful? Give feedback.
Heya!
The behavior you observe for
jsx: true
, is indeed whatjsx: true
does, and not what you want to do.jsx: true
should not be needed. You introduce more work which solid then does.I can help you better if you tell us what you want to achieve. Give actual input, expected output, and current actual output.
I’d also appreciate more info about the current Solid + JSX situation? Solid previously had different bugs, does Solid currently work well?