You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the popularity of reagent, I think zprint may want to consider either
handling this element specially within the :hiccup style or
adding a new :reagent-hiccup style which handles it.
A very simple first pass at this (extending the :hiccup style in the documentation) which handles both traditional and reagent hiccups looks like this:
I am not 100% sure what the signifigance of the last two clauses were in the original :hiccup style, and why :next-inner-restore was not used in the first place, so copy this with caution!
Reagent has a non-standard element,
:>
, which is a shorthand for an internal function call on the next element in the vector. See reagent/doc/InteropWithReact.md at master · reagent-project/reagent for the official explanation.Given the popularity of reagent, I think
zprint
may want to consider either:hiccup
style or:reagent-hiccup
style which handles it.A very simple first pass at this (extending the
:hiccup
style in the documentation) which handles both traditional and reagent hiccups looks like this:This style formats
as
The text was updated successfully, but these errors were encountered: