This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-02
Channels
- # admin-announcements (1)
- # alda (3)
- # beginners (28)
- # boot (155)
- # braid-chat (8)
- # cider (22)
- # cljs-dev (46)
- # cljsrn (24)
- # clojure (94)
- # clojure-belgium (23)
- # clojure-czech (2)
- # clojure-germany (7)
- # clojure-greece (12)
- # clojure-india (1)
- # clojure-japan (1)
- # clojure-russia (118)
- # clojure-spain (18)
- # clojure-spec (40)
- # clojure-sweden (19)
- # clojure-taiwan (4)
- # clojure-uk (5)
- # clojurescript (185)
- # clojutre (10)
- # community-development (5)
- # core-logic (11)
- # css (5)
- # cursive (7)
- # datomic (5)
- # dirac (6)
- # emacs (2)
- # euroclojure (1)
- # events (5)
- # hoplon (355)
- # instaparse (3)
- # jobs-rus (5)
- # lein-figwheel (2)
- # leiningen (5)
- # mount (11)
- # off-topic (8)
- # om (20)
- # onyx (10)
- # other-languages (87)
- # perun (9)
- # proton (1)
- # re-frame (21)
- # reagent (16)
- # specter (28)
- # tmp-json-parsing (5)
- # untangled (19)
- # yada (43)
@plexus: @borkdude one issue about not using #route
is that you're relying on some server to do the rewriting for you. In practice you're always downloading the same files so why not package it as an application you run by downloading a single executable (index.html)
I think the server side part is especially troubling when things should work offline. Unless you want isomorphic rendering I don't see a strong reason to use /route
instead of #route
they have different semantics, right? if you want links that people share to specific locations in your app, then you're best not to use fragment identifiers. People have a habit of not copying anything after #
, we noticed this at my last job. Also IIRC Safari drops the part after #
when following redirects, which means any URL shortener will already mess things up
@plexus: wow that Safari thing is strange (but true)
> People have a habit of not copying anything after #
do they? I'd expect people to just copy everything but I also don't have any empirical evidence to back that up. Maybe also a different thing the # comes right after the domain
yeah, we actually observed this. sites add so much crap after ?
and #
, mostly for keeping track of analytics metadata, that people learn to ignore it
see for example http://dev.clojure.org/jira/browse/CLJS-847, where (str ...)
misbehaves in Safari 6.0.5, and lacking a cross-browser solution nothing happens, which seems at least partly at fault for why printing a js/Symbol
causes a TypeError in ClojureScript http://dev.clojure.org/jira/browse/CLJS-1628