As of [kioo "0.4.1-SNAPSHOT"] the library is not working with [reagent "0.5.0-alpha"], since reagent renamed the as-component function to as-element-function. There was an alias introduced for compatibility with older code, but it only extended for react.core namespace and not reagen.impl.template namespace.
Per this issue https://github.com/reagent-project/reagent/issues/93 issue suggested resolution was to stop relying on the reagent.impl.template namespace and use reagent.core/as-component alias instead. The reagent.core/as-component was introduced in version 0.4.0 (relevant commit - https://github.com/reagent-project/reagent/commit/ec7b9acf2389289acb1832854cee14a8a2e433fb) with intention of exposing reagent.impl.template/as-component which is supposedly private.
This limits the lower version bound of reagent usable with kioo to 0.4.0, but since project.clj seem to list version 0.4.2 as a dependency it ultimately shouldn't be much of a problem.
The test seem to keep passing no problem, modified version seems to compile to usable reagent components.
As of
[kioo "0.4.1-SNAPSHOT"]
the library is not working with[reagent "0.5.0-alpha"]
, since reagent renamed theas-component
function toas-element-function
. There was an alias introduced for compatibility with older code, but it only extended forreact.core
namespace and notreagen.impl.template
namespace.Per this issue https://github.com/reagent-project/reagent/issues/93 issue suggested resolution was to stop relying on the
reagent.impl.template
namespace and usereagent.core/as-component
alias instead. Thereagent.core/as-component
was introduced in version0.4.0
(relevant commit - https://github.com/reagent-project/reagent/commit/ec7b9acf2389289acb1832854cee14a8a2e433fb) with intention of exposingreagent.impl.template/as-component
which is supposedly private. This limits the lower version bound of reagent usable with kioo to0.4.0
, but sinceproject.clj
seem to list version0.4.2
as a dependency it ultimately shouldn't be much of a problem.The test seem to keep passing no problem, modified version seems to compile to usable reagent components.