Error rendering in core.js
See original GitHub issueLove the library, I agree with all the underlying principals! Having issues (at least in the lite version):
Uncaught (in promise) Error: Expected `string` for value, got `var a = "wat";`
I think this is due to children
being an array and being passed directly through? Here’s my usage:
import SyntaxHighlighter, { registerLanguage } from 'react-syntax-highlighter/dist/light';
import js from 'react-syntax-highlighter/dist/languages/javascript';
import docco from 'react-syntax-highlighter/dist/styles/docco';
registerLanguage('javascript', js);
// render() =>
<SyntaxHighlighter language="javascript" style={docco}>
{ 'var a = "wat";' }
</SyntaxHighlighter>
Issue Analytics
- State:
- Created 6 years ago
- Comments:14
Top Results From Across the Web
Iam getting a error while rendering a component in the main ...
Iam getting a error while rendering a component in the main component using react js ; div className="err"> ; link rel="preconnect" href="https:// ...
Read more >Rendering issue · Issue #43 · jsreport/jsreport-dotnet - GitHub
Dear Developer, I am having this error message during executing the PDF. An unhandled exception occurred while processing the request.
Read more >pretty-error - npm
PrettyError turns error objects into something similar to an html document, and then uses RenderKid to render the document using simple html/css ...
Read more >JS Report error when generating pdf in .Net Core
JsReportBinaryException: Error rendering report: starting rendering process..rendering has finished with errors:A critical error occurred ...
Read more >ASP.NET Core Razor component lifecycle | Microsoft Learn
While a Blazor app is prerendering, certain actions, such as calling into JavaScript (JS interop), aren't possible. Components may need to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@joelgriffith believe it’s resolved in
v5.7.1
, can you confirm?🆒 ! thanks, I’ll check it out tonight