This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-28
Channels
- # aatree (1)
- # announcements (1)
- # beginners (18)
- # boot (12)
- # cljsjs (1)
- # cljsrn (6)
- # clojure (358)
- # clojure-japan (1)
- # clojure-russia (69)
- # clojurescript (20)
- # core-async (32)
- # cursive (6)
- # datomic (57)
- # devcards (3)
- # dirac (2)
- # editors (8)
- # emacs (6)
- # juxt (1)
- # ldnclj (4)
- # luminus (2)
- # om (91)
- # om-next (2)
- # onyx (11)
- # reagent (7)
what's the proper way to get an xlink:href attribute to work?
[:svg {:viewBox "0 0 16 16"}
[:use {"xlinkHref" (str icon-uri "#" name)}]]
anything I'm trying just yields no attr at alltried :xlink-href
:xlink:href
the one above and various others I forgot
I keep getting this error:
RangeError: Maximum call stack size exceeded at
on render… not sure what’s causing it...@martinklepsch This is an absolute shot in the dark (haven't done svg stuff), but maybe try nesting an inner map. Something like {:xlink {:href ...}}
@martinklepsch: Are you using 0.6-alpha? Namespaced attributes require React 0.14