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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

use with react-syntax-highlighter 锛宼he Program crash #3678

Closed
keiseiTi opened this issue Oct 25, 2019 · 1 comment
Closed

use with react-syntax-highlighter 锛宼he Program crash #3678

keiseiTi opened this issue Oct 25, 2019 · 1 comment

Comments

@keiseiTi
Copy link

馃悰 bug report

馃槸 Current Behavior

image

馃捇 Code Sample

import SyntaxHighlighter from 'react-syntax-highlighter';
import { docco } from 'react-syntax-highlighter/dist/esm/styles/hljs';
const Component = () => {
  const codeString = '(num) => num + 1';
  return (
    <SyntaxHighlighter language="javascript" style={docco}>
      {codeString}
    </SyntaxHighlighter>
  );
};

馃實 Your Environment

Software Version(s)
Parcel 1.11.0
Node 10.16.3
npm/Yarn 6.12.0
Operating System mac10.14.5
@mischnic
Copy link
Member

Please see #3176

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

3 participants