• Przemyslaw Kaminski's avatar
    [Graph] doesn't flicker now at all! · 3a1dc8f0
    Przemyslaw Kaminski authored
    Turns out the issue was also at parent getting rerenders.
    So the trick is that I added an empty div with ref for parent node and,
    next to it, the Graph component pointing to that ref.
    Graph component calls react's usePortal with that parent ref and a small
    'createElement' div to hold sigma canvases.
    3a1dc8f0
Name
Last commit
Last update
..
Array.js Loading commit data...
Array.purs Loading commit data...
DecodeMaybe.js Loading commit data...
DecodeMaybe.purs Loading commit data...
KarpRabin.purs Loading commit data...
Math.purs Loading commit data...
Range.purs Loading commit data...
Reactix.js Loading commit data...
Reactix.purs Loading commit data...
Regex.js Loading commit data...
Regex.purs Loading commit data...
Selection.js Loading commit data...
Selection.purs Loading commit data...