Closed ahetawal-p closed 1 year ago
@ahetawal-p do you have a code sample?
Nothing specific, I just tried using the syntax-highlighter in one of my views
<SyntaxHighlighter
language='java'
style={dracula}
>
{codeString}
</SyntaxHighlighter>
And in debug mode I start seeing flood of above error messages on chrome console.
Seems something related to the prism-core.js
as soon as it gets imported in my app through highlighter, the console starts showing the messages
PS: Its seems to related this issue: https://github.com/PrismJS/prism/issues/1303
Have the same issue, it really doesn't let me debugging things
I know it's been a while, i've been busy with a move / new job / but it's on my todo list for this weekend, thanks for the patience.
Still the same. Any update on this?
any news here?
any update on this issue? @chrisglein
any update on this issue? @chrisglein
Fix has been merged. There hasn't been a NPM release that includes it yet.
Thanks @chrisglein , can i know how to use package in this case without clonning?
@chrisglein ?
Hi @conorhastings, Apologies for filing multiple issues. As I am really looking forward to integrate this highlighter in my current app.
I am using below versions in my
But when running my app under React Native debug mode, the console log is getting flooded with below message
Although the highlighter view loads fine, but the console log seems to be bogged down with the error messages. Would be great if this can be fixed.
Thank you again,