Skip to content

Releases: Respo/respo.cljs

[BROKEN, DON'T USE] Merged respo.macros to respo.core

29 Oct 16:53
Compare
Choose a tag to compare

Breaking change.

respo.macros is removed. When you need it, just use respo.core.

Remove "verbosely" from dependency

08 Oct 16:30
Compare
Choose a tag to compare

Verbosely is not used in actuality.

use event.key and event.code

30 Jun 16:24
Compare
Choose a tag to compare

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

30 Jun 16:26
Compare
Choose a tag to compare

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

10 Mar 05:24
Compare
Choose a tag to compare

Fix

  • should throw error if nil is passed to expand-component function, make error tracing easier.

skip function comparing; add map-val map-with-idx

04 Feb 11:26
Compare
Choose a tag to compare

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

23 Jan 17:09
Compare
Choose a tag to compare

Feature

  • add <i> element

Add tspan

23 Jan 16:45
Compare
Choose a tag to compare

Feature

  • add <tspan> which is an SVG element

slightly change path-data

17 Jan 15:35
Compare
Choose a tag to compare

Refactor

  • path-data can be simplified. tests passed.

path-data function for writing path

16 Jan 16:41
Compare
Choose a tag to compare

Feature

  • new function called path-data for adding path data.
(respo.util.format/path-data :M 10 10 :l 20 20 :Z)