Skip to content

Releases: Respo/respo.cljs

Drop Hiccup DSL support

29 Nov 15:37
Compare
Choose a tag to compare

Breaking

  • Remove Hiccup syntax. Reasons: 1. it's conflicted with current list assumption; 2. no evidence that people are using that.

just code migrations

26 Nov 16:57
Compare
Choose a tag to compare

Refactor

  • moved more code into coir.edn
  • drop dependencies of polyfill.clj since Respo is ClojureScript only

Update defcomp macro to support arity checking

13 Nov 15:55
Compare
Choose a tag to compare

Feature

  • with the new macro, the compiler is able to detect arity of calling components

using list-> to mark lists

28 Oct 08:04
Compare
Choose a tag to compare

breaking change

now elements containing lists MUST be rendered with list->, which is a macro:

(list-> :div {:style {}}
 '([0 (span)]
   [1 (div)]))

It breaks old code that renders list with an error:

Error: No protocol method IAssociative.-assoc defined for type cljs.core/LazySeq: ([0 {:name :link, :coord nil, :attrs ([:href "http://localhost:8100/main.css"] [:rel "stylesheet"] [:type "text/css"]), :style (), :event {}, :children ()}])

The benefit is some dirty code for checking lists is removed. No numbers for runtime performance changes. Good or bad...