question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MDX v2: ☂️ Umbrella issue

See original GitHub issue

👋 Hey folks, the time has come to begin putting together MDX v2. We’ve been aggregating feedback, working on parsing, and we think we now have all of our 🦆🦆🦆🦆 ducks in a line to begin releasing a next tag in the next week.

Please note: Nothing written here is final and we’d love for contributors, users, and anyone else to comment with ideas, opinions, and questions/concerns.

Features

  • 🤖Drastically improved parsing led by @wooorm in #1039. This will handle a wide array of parsing issues that have been brought up over the last year with a robust solution. The new parser will address a large amount of papercuts users have been working around for far too long. It also adds JSX usage into the AST which will allow users to perform their own transforms with plugins. One of the more notable additions here is the ability to support expressions throughout a document (also a breaking change).
  • 🚀Official Vue support led by @codebender828 and @ChristopherBiscardi in #1029. The previous alpha implementation of Vue was buggy and not updated with MDX as it evolved. We no longer have a custom transpiler for Vue and only have to implement a custom renderer/pragma. This is so huge and we’re delighted @codebender828 took on this monumental effort.
  • 🧩TypeScript support led by @ChristianMurphy. The public facing packages feature official types with tests.

Breaking changes?

Generally speaking, most of the breaking changes will be internal and shouldn’t directly affect end users. We haven’t yet shipped them, though, because they are technically changing behavior users may’ve been depending on (which will be documented below).

However, with the parsing overhaul (#1039) the syntax has been formalized which will likely cause issues for characters that aren’t HTML encoded, < and {, (some of which we’ll be able to address with codemods).

RFCs

The following RFCs (request for comments) are either accepted (✅), being discussed (💬), declined (✖️), or need to be written (📝). If you have opinions here, please chime in on these issues as they will affect the v2 release.

Work left to complete or currently in flight

If you have any interest in working on any of these tasks please let us know! We’d be happy to help guide anyone along.

Encountered bugs

Performance considerations

How can you help?

Let us know if you want to take on any of the issues that don’t yet have folks assigned. You can also take the canary for a spin and let us know if you encounter any problems:

yarn add @mdx-js/mdx@next @mdx-js/react@next

Is there something missing? Is there something you’re concerned about?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:114
  • Comments:21 (8 by maintainers)

github_iconTop GitHub Comments

43reactions
wooormcommented, Feb 1, 2022

Hey all!

V2 was finally released, thanks for everyone who contributed, and for everyone who waited! ✨ More on v2 in the release and on the site: https://github.com/mdx-js/mdx/releases/tag/2.0.0.

15reactions
johnocommented, Jun 17, 2020

Hey @shilman, we’re hoping for an RC in the by June, and if all goes well a mid July release. Generally speaking, the breaking changes should be pretty light because they’re generally internals aside from the new parsing changes (which we will also offer a codemod that should address most problems that might arise).

Hopefully this corresponds nicely with you folks? I’m pretty busy this week with other things, but plan on picking MDX v2 back up full time starting next week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MDX v2: ☂️ Umbrella issue - GitHub
Everything is better with a good hug When an upvote just isn't enough, smash the Rocket Like. Shows the Silver Award... and that's...
Read more >
May 1, 2020
If you'd like to join in on the fun, please head over to our v2 umbrella issue! github.com. MDX v2: ☂️ Umbrella issue...
Read more >
MDX 2
Version 2 of MDX was released after years of hard work, and has many improvements. Here are the highlights:
Read more >
For Acura MDX, Car parasol Windscreen Parasol Anti UV ...
2. Sun shade . Umbrella design/stretch design, small size, easy to carry. 3. Good protection effect:Aim at anti UV, lower car interior temperature...
Read more >
LivTee Black & Red Superior Leather Car Seat Back ...
... for Purse Coats Umbrellas Grocery Bags Handbag, 2-Pack : Automotive. ... Purchase with Confidence: Any issues or questions please feel free to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found