One of the most frustrating things which each frontend developer faces, is the challenge of scaling graphs library. It very often happens, especially with an older library, that it is not responsive. It just adjusts the size when it is mounted to the DOM and doesn’t scale dynamically when a browser window is resizing.
In React, communication between the components proceeds in a hierarchical way. This means that by default we only have the possibility to pass data from parent component to children component using props attribute and not the opposite. It’s not any kind of a “bug” or a disadvantage, but a deliberate construction which should help us […]