This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-03
Channels
- # aleph (1)
- # beginners (99)
- # boot (16)
- # cider (35)
- # cljs-dev (46)
- # cljsrn (7)
- # clojure (152)
- # clojure-austin (7)
- # clojure-dusseldorf (8)
- # clojure-italy (1)
- # clojure-uk (7)
- # clojurescript (3)
- # core-async (12)
- # css (8)
- # cursive (18)
- # datascript (2)
- # datomic (19)
- # defnpodcast (6)
- # duct (3)
- # editors (8)
- # emacs (8)
- # figwheel (1)
- # fulcro (20)
- # hoplon (18)
- # jobs-discuss (5)
- # lein-figwheel (1)
- # luminus (3)
- # lumo (19)
- # off-topic (15)
- # onyx (9)
- # parinfer (2)
- # planck (6)
- # portland-or (7)
- # re-frame (4)
- # reagent (7)
- # remote-jobs (1)
- # ring (6)
- # ring-swagger (4)
- # spacemacs (10)
- # specter (3)
- # unrepl (131)
Found the solution for this problem. Here's the updated gist: https://gist.github.com/ejelome/135d0c5f0e6137310ccfcfd24952f3f2/revisions The solution was to also treat the params as part of the state. Hope this also helps people with similar problem, just in case.
Somebody used doc/pdf/docx viewer? as eg. first page screenshot or full load? in reagent/re-frame? what do you would like to advice to use?
@lee.justin.m yes, I would like add a viewer in browser (like in slack)
The best in-browser PDF renderer is pdf.js (a mozilla project). It is a bit complex to use. If you want to have control over it, you need to use reagent to render a canvas, then use the lifecycle hooks to point pdf.js to the canvas. I don’t know of any word in-browser renderers.
May not meet your needs but I just render the PDF in an iframe and let the browser plugin do the work.