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

Improve typechecking when working in MDX stories #2687

Open
coderitual opened this issue Mar 8, 2023 · 0 comments
Open

Improve typechecking when working in MDX stories #2687

coderitual opened this issue Mar 8, 2023 · 0 comments

Comments

@coderitual
Copy link
Contributor

Currently, when working with MDX stories in our project, we have noticed that typechecking is not as robust as we would like it to be. This can lead to potential bugs and errors down the line, which we want to avoid.

Following options are considered

  • Update the TypeScript configuration to include stricter type checking rules for MDX files.
  • Enabling vscode plugin for MDX and upgrading MDX to ver 2
  • Improve the documentation for how to work with MDX stories and ensure that developers are aware of the importance of typechecking.
  • If all above fail, we can try MDX-flavoured embedded stories

CleanShot 2023-03-08 at 14 11 57

@coderitual coderitual changed the title improve typechecking when working in MDX stories Improve typechecking when working in MDX stories Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant