Skip to content

Report use of MDX internals #395

Open
@remcohaszing

Description

Initial checklist

Problem

MDX generates some internal variables in the compiled output. These variables are in scope and users could use them, but they they should not.

Solution

Report usage of the following identifiers:

  • _components
  • _createMdxContent

We should probably also report usage of the following variables:

  • MDXLayout
  • MDXContent

Alternatives

Consider all variables starting with an underscore to be private.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions