This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-10-21
Channels
- # admin-announcements (42)
- # alda (1)
- # beginners (11)
- # boot (24)
- # boulder-clojurians (2)
- # cider (10)
- # cljs-dev (23)
- # clojure (63)
- # clojure-czech (4)
- # clojure-japan (2)
- # clojure-russia (44)
- # clojure-sg (2)
- # clojure-switzerland (2)
- # clojurescript (135)
- # community-development (5)
- # css (4)
- # cursive (19)
- # datomic (34)
- # emacs (2)
- # events (5)
- # funcool (13)
- # hoplon (3)
- # ldnclj (43)
- # ldnproclodo (1)
- # lein-figwheel (7)
- # luminus (7)
- # off-topic (54)
- # om (115)
- # onyx (82)
- # overtone (3)
- # re-frame (6)
- # reagent (15)
- # yada (5)
@venantius might have some wisdom, I'm currently trying to figure out how to use the Accountant library
@coyotespike: I can’t comment on how well Accountant works with search engines, but there’s no need for hashbang magic
It's much prettier without hashbangs!
However, even with the intuitive goodness of Accountant, it turns out that Google is not any happier with
, as this returns a 404
So I'm working on http://prerender.io - I'll try to throw the results of all this into a gist @eggsyntax
@mbertheau: for me it mostly fits into declarative programming style
@mbertheau: sorry, emitting html
@mbertheau: I would not recommend display:none for components which have deep DOM structure or potentially render other components. Bail out as early as possible and let react effectively update the DOM by not emitting html at all. Display:none was handy in times of $(“.section”).hide(), that is history.
I haven't used display:none, but it does seem to be React's official recommendation (if your component is stateful & you don't want to lose track of that state): https://facebook.github.io/react/docs/multiple-components.html#stateful-children