Releases: Cumulo/recollect.cljs
Releases · Cumulo/recollect.cljs
Switching to `recollect.twig/deftwig`
Turned out we don't need an extra recollect.macros
namespace. Now the macro is under recollect.twig
as render-twig
.
Ignore changes of arguments in deftwig
This change enables trick of bypass re-rendering of grabbing some data. It's a trick for performance purpose.
eliminate changes for same keyword
Fix
(identical? :x :x)
returnsfalse
during development, need to use(= :x :x)
for detecting equality
don't emit changes for same sets
Fix
- previously
[#{} #{}]
is generated for same sets
Refactor to unify the concept of Twig
Refactor
- all stuffs are called twig now, no more using bunch
render-bunch
changed torender-twig
diff-bunch
changed todiff-twig
patch-bunch
changed topatch-twig
Feature
- new macro called
deftwig
to simplify usage
Update protocol for performance
Refactor
- now the protocol is like
[operation coord data]
, whereoperation
is a number,coord
is a vector. Should be faster to transfer. - slightly changed patching code.