This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-17
Channels
- # 100-days-of-code (5)
- # announcements (13)
- # beginners (98)
- # boot (19)
- # cider (10)
- # cljdoc (32)
- # clojure (142)
- # clojure-dev (37)
- # clojure-italy (3)
- # clojure-nl (2)
- # clojure-spec (30)
- # clojure-uk (18)
- # clojurescript (28)
- # cursive (8)
- # datomic (25)
- # duct (18)
- # editors (5)
- # emacs (39)
- # events (4)
- # figwheel (7)
- # figwheel-main (5)
- # fulcro (38)
- # graphql (19)
- # jobs-discuss (1)
- # jobs-rus (7)
- # keechma (1)
- # lumo (47)
- # off-topic (28)
- # om-next (3)
- # parinfer (3)
- # re-frame (18)
- # reagent (37)
- # reitit (8)
- # shadow-cljs (101)
- # specter (7)
- # tools-deps (8)
- # vim (1)
was about to ask about the best way to setup components on devcards, in terms of properly rooting them, etc to test mutations. but looks like @wilkerlucio and co's workspaces already address this? By default the Fulcro card will wrap your component will a thin root, by having always having components with idents you can leverage generic mutations, this is recommended over making a special Root.
yes, it does, and it also injects the CSS in a sane way for you đ
@wilkerlucio i've set stuff up. but for some reason, the workspaces.html i've setup, is loading my app
@eoliphant not sure what that means, you mean opening your html instead of the workspaces one?
yeah I basically, just added all of the workspaces bits. a workspaces build in shadow-cljs on a new port, a new workspaces.html ugh nevermind lol. I misspelled 'workspaces.html' and I guess shadow defaulted to serving index.html
though @wilkerlucio I'm having another, perhaps actual, issue đ I'm getting a 'no app connected' in the fulcro-inspect window with workspaces open, even after tapping on the 'inspector' button I've upgraded to 1.0.6 of the extension, and 2.2.4 for the dep, and it still works fine on other fulcro apps. No errors or anything in the console
thats odd, the shadow config has the preload for it?
ok.. yeah this is pretty awesome. next time i'm in Sampa, I'm buying you a drink đ
Has anyone written something to go through devcards and screenshot their content (i.e. using headless chrome)? I could write it myself but curious if it has been done
@hmaurer yes i have
but it was closed source
but we have a gist
https://medium.com/adstage-engineering/how-we-test-our-full-stack-clojure-app-b18d79ee9e00
in the section on visual regression tests
that gist has all the useful bits
yeah we just stored the good states in the git repo
git was our database lol
@tony.kay I noticed something here, when I do a load and it fails at network level, the load marker set in the request stays in :loading
state, I guess it should move to :failed
, or am I missing something?
ok, I think we have a bug then đ
I just added a security chapter to the book, released a normal and websockets security demo, and released Fulcro 2.6.8 with some small added helpers that people can use in their own code.
If youâre using Fulcro in production, you should probably have a look. If youâve already secured your Fulcro app and have additional suggestions, please let me know.