Releases: Respo/respo.cljs
Releases · Respo/respo.cljs
[BROKEN, DON'T USE] Merged respo.macros to respo.core
Breaking change.
respo.macros
is removed. When you need it, just use respo.core
.
Remove "verbosely" from dependency
Verbosely is not used in actuality.
use event.key and event.code
Was informed that keyCode is deprecating and event.key
and event.code
are preferred.
Also added shift? alt? ctrl? meta?
for convenience.
Add SSR checking
In previous usages of Respo, I noticed debugging bugs caused by inconsistency from DOM and pre-rendered HTML is quite difficult. Now there's a basic structural checking code walking through the tree in calling realize-ssr!
.
Currently it's used in http://shadow-cljs.org/ and you find difference in Console logs.
assert map in expand-component
Fix
- should throw error if
nil
is passed toexpand-component
function, make error tracing easier.
skip function comparing; add map-val map-with-idx
Feature
- add
map-val
map-with-idx
as syntax sugar for transforming child elements. - skip functions comparisons to reduce re-rending(need to notice if the optimisation has bugs).
- print better error message when literal is passed as an argument.
Add i element
Feature
- add
<i>
element
Add tspan
slightly change path-data
Refactor
path-data
can be simplified. tests passed.
path-data function for writing path
Feature
- new function called
path-data
for adding path data.
(respo.util.format/path-data :M 10 10 :l 20 20 :Z)