You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
causes the exception below.
Downgrading to 3.0.1 solves the problem.
Expected behavior
Render the table.
Actual behavior
Uncaught TypeError: Cannot set properties of undefined (setting 'inTable')
at Object.enterTable (index.js:76:1)
at compile (index.js:351:1)
at fromMarkdown (index.js:192:1)
at parser (index.js:18:1)
at Function.parse (index.js:262:1)
at ReactMarkdown (react-markdown.js:104:1)
at renderWithHooks (react-dom.development.js:14141:1)
at mountIndeterminateComponent (react-dom.development.js:17432:1)
at beginWork (react-dom.development.js:18728:1)
at HTMLUnknownElement.callCallback (react-dom.development.js:3733:1)
Runtime
Node v17
Package manager
npm 8
OS
macOS
Build and bundle tools
Webpack, Create React App
The text was updated successfully, but these errors were encountered:
Please look at the pinned issue before opening a new one.
To reiterate from the existing issue:
A major version release is rolling out across all: mdx, unified, remark, rehype, and micromark packages.
This includes both type changes (static analysis error) and changes to the parser (potential runtime error) if the major versions are mismatched.
Hold on version 3 of remark-gfm, until the next major of react markdown is released
Because we treat issues as our backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn’t an exact duplicate but is closely related.
Initial checklist
Affected packages and versions
remark-gfm 4.0.0
Link to runnable example
No response
Steps to reproduce
With react-markdown
Doing:
causes the exception below.
Downgrading to 3.0.1 solves the problem.
Expected behavior
Render the table.
Actual behavior
Runtime
Node v17
Package manager
npm 8
OS
macOS
Build and bundle tools
Webpack, Create React App
The text was updated successfully, but these errors were encountered: