question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Documentation for <ResponsiveNetwork/> on the site is inaccurate.

See original GitHub issue

On the site it says that the component needs a data prop in the form of:

{
"nodes" : [{}],
"links": [{}]
}

But is expecting separate nodes and links props.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
jdelpierrecommented, Mar 4, 2020

Thanks @xanderjakeq xanderjakeq Yes, there is an inconsistency between the documentation and the code. This is what the code states

image

2reactions
xanderjakeqcommented, Jan 15, 2020

This is the example given. image

It shows that the ResponsiveNetwork component accepts a data prop.

However, the source code for the Network component doesn’t and expects a separate nodes and links props on lines 25 and 26.

Would suggest changing the example maybe? @Larissagilliane

Read more comments on GitHub >

github_iconTop Results From Across the Web

Websites look wrong or appear differently than they should
This article explains how to fix problems with websites that display incorrectly in Firefox or don't work the way they should.
Read more >
Responsive Web Design Testing: The Complete Beginner's ...
The fix for the problem is something called “responsive design”, a technique to have web pages ask the browser what the resolution is,...
Read more >
About responsive display ads - Google Ads Help
With responsive display ads, you can upload your assets (images, headlines, logos, videos, and descriptions), and Google will automatically generate ad ...
Read more >
Web Content Accessibility Guidelines (WCAG) 2.1 - W3C
Sufficient and Advisory Techniques - For each of the guidelines and success criteria in the WCAG 2.0 document itself, the working group has...
Read more >
Best Practices for Speeding Up Your Web Site
This can increase the size of your HTML document. ... reduction in response times, but it's easier thanks to content delivery networks.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found