Closed Wekananda closed 3 years ago
Hi! Thanks for taking the time to contribute!
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.
Thanks, — bb
Hi team! It seems this post is a duplicate, but hasn’t been marked as such. Please post a comment w/ Duplicate of #123
(no final .
) to do so. See GH docs for more info.
Thanks, — bb
Duplicate of #21
Initial checklist
Affected packages and versions
2.0.0
Link to runnable example
No response
Steps to reproduce
Here my code
import React from "react"; import Markdown from "react-markdown";
import gfm from "remark-gfm"; import raw from "rehype-raw";
const markdownSource =
<span style="background: green">working example</span>
;export default function App() { return (
); }
Expected behavior
Package/plugin loaded without error
Actual behavior
Got error TypeError: Cannot read property '3' of undefined
Runtime
Node v16
Package manager
npm v7
OS
Windows
Build and bundle tools
Next.js