Comments (4)
Hey, the newline that is being added is because there is another textnode with a newline in it. This currently spans over 3 diffs, which could be cut down to 2 under perfect conditions. I think this looks quite acceptable though.
from diffdom.
If you want to investigate it more and write a patch, I'd be happy to merge it @t3chguy .
from diffdom.
@t3chguy I received a message that you commented on this issue, but the comment seems to have disappeared.
from diffdom.
Yup, I deleted it, it was moot and a bad reproduction case.
from diffdom.
Related Issues (20)
- Svg not rendering when applying from a virtual dom HOT 8
- Conflict with mathlive HOT 1
- Empty li tags are wrongly diffed HOT 5
- Diff cannot be applied HOT 2
- Nothing happens when I call diff. HOT 25
- Documentation for each action HOT 1
- Diff on string with multiple HTML comments fails
- Unexpected behavior: Adding and removing the same element at the same position for multiple times HOT 1
- Life saver 🚀
- `window is not defined` HOT 5
- Can this be used in nodejs? HOT 2
- Nothing happens when calling diff, related to #106 HOT 1
- Serialized diff fails to apply to similar element HOT 1
- highlight of the newly added elements and about to be removed elements HOT 1
- Wrong diff results for TEXTAREA nodes with existing value/content
- Question: Does it visually show the diff result? HOT 1
- Publish non-minified JS files on npm HOT 14
- Complex diff result HOT 1
- preDiffApply is called during applyVirtualDiff
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diffdom.