• 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
.psc-package/local/.set Loading commit data...
dist Loading commit data...
src Loading commit data...
test Loading commit data...
.babelrc Loading commit data...
.gitignore Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
browserslist Loading commit data...
docker-env.sh Loading commit data...
package.json Loading commit data...
packages.dhall Loading commit data...
psc-package.json Loading commit data...
webpack.config.js Loading commit data...
yarn.lock Loading commit data...