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.

Reconcilation problem

See original GitHub issue

I’m considering snabbdom as a virtual-dom replacement. I’ve hit some problem (or bug) with node reconcilation. It would require tons of words to explain without a video so here is one:

https://drive.google.com/file/d/0B9bW0B92XgnAbnM2LXNZYWZ6NzQ/view

The first half (game board with black top-left corner) features virtual-dom based code and the second half (game board without such corner) features snabbdom based code.

As you can see there, snabbdom reconciles a parent span.cell

<span class="cell" data-row="0" data-col="0">  <-- this one should not reconcile at card flip
  <span class="card flipper shaker" data-state="0">
    <span class="front">?</span>
    <span class="back">F</span>
  </span>
</span>

at the time child span.card is changing. This reconcilation is unnecessary because no attribute of the parent span.cell is changing. And it interrupts CSS transition destroying animation alltogether.

The code for both examples is obviously the same, only API stuff were touched.

virtual-dom version: https://github.com/Paqmind/memory-game/tree/styles snabbdom version: https://github.com/Paqmind/memory-game/tree/vdom-experiments

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
paldepindcommented, Sep 11, 2016

Sorry, I haven’t looked at this. Thank you for reminding me @AlexGalays and thanks to @bloodyKnuckles for the analysis 🏆

I’ll look at it in a few couple of days 🔜

1reaction
paldepindcommented, May 11, 2016

Thank you for reporting this. This does indeed look like a bug. I’ll look into it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

4 Examples Of Bank Reconciliation Statement Problems ...
Challenges Faced While Preparing Bank Reconciliation Statements · Cash-In Transit Not Being Reflected on Passbook · Outstanding Checks Not Being ...
Read more >
4 Manual Reconciliation Problems You Need to Solve - Trintech
Problem #1: The reconciliation process isn't standardized. For enterprises, one of the biggest problems that results from manual reconciliation methods is the ...
Read more >
5 Common Account Reconciliation Problems and How To ...
5 Common Account Reconciliation Problems and How To Avoid Them · 2. Oversights · 3. Errors of Reversal · 4. Duplicate payments ·...
Read more >
Bank Reconciliation Challenges and Solutions - ReconArt
In bank reconciliation this is an issue faced by every business, no matter of the size and industry. For instance, probably the most...
Read more >
4 Challenges of Reconciliation and How to Overcome Them
1. Slow data input processes. In many companies, reconciliation is still a slow, tedious process. · 2. Error-prone inputs. Another consequence of ...
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