Skip to content

UpperCod/atomico-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

atomico-diff

Is a small diff algorithm created to be used within web-components

pragma h

import {h,diff} from "atomico-diff";

let div = document.createELement("div");

diff(
   false,
   div,
   <host class="my-class">
)

Use of branches of state

The diff process of Atomico, to avoid conflict between components, has a definition of state based on branches, defined by the father of the same component. with this it is sought to maintain independent between the state of the same component and the state of the component generated by the father.

The advantage of this is that it avoids the conflict of rewritten properties and elimination of events.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published