This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-05
Channels
- # architecture (2)
- # aws (1)
- # bangalore-clj (4)
- # beginners (97)
- # boot (35)
- # cider (8)
- # cljsjs (3)
- # cljsrn (35)
- # clojure (190)
- # clojure-dusseldorf (4)
- # clojure-italy (7)
- # clojure-poland (1)
- # clojure-russia (17)
- # clojure-spec (74)
- # clojure-uk (30)
- # clojureremote (2)
- # clojurescript (298)
- # code-reviews (18)
- # component (18)
- # cursive (18)
- # datascript (3)
- # datavis (2)
- # datomic (24)
- # dirac (17)
- # emacs (3)
- # garden (7)
- # hoplon (51)
- # jobs (2)
- # jobs-rus (2)
- # leiningen (4)
- # luminus (11)
- # mount (24)
- # off-topic (1)
- # om (32)
- # onyx (25)
- # pedestal (1)
- # powderkeg (9)
- # protorepl (6)
- # re-frame (11)
- # reagent (15)
- # spacemacs (6)
- # sql (35)
- # uncomplicate (1)
- # unrepl (74)
- # untangled (130)
- # yada (6)
in this case we’re loading data from the server for a paging table, and we need to access the component’s state.page
using (r/current-component)
gets the wrapping reagent component, not the internal react component that we want
@isaac_cambron it does sound like you're getting something wrong
if the 3rd party component doesn't update, isn't that a bug in that component? I'd assume that has nothing to do with how you call it, regardless of whether you're using reagent
you can't (shouldn't?) reach into the state of another component I think
Hi, just started learning reagent, can anyone recommend a good example of a multi-page example app that updates the url with pushstate? Looking for something very basic, just showing how to organize pages, navigation and how to move from one page to another.
@mikeb, https://pupeno.com/2015/08/26/no-hashes-bidirectional-routing-in-re-frame-with-bidi-and-pushy/ ?
thanks @pesterhazy working through that now!
@pesterhazy I think it's a bug in the component, but it's not obvious to me that its authors do
I'm going to try to fix the component (having trouble getting my wrapper to pull in a local version of the third-party component), but I was wondering if there was a hack that used force-update
(not really sure how to call it) or similar